enigma_rtc/
config.rs

1#[derive(Debug, Clone)]
2pub struct RtcConfig {
3    pub ice_servers: Vec<String>,
4    pub prefer_codec: Option<String>,
5    pub enable_audio: bool,
6    pub enable_video: bool,
7}
8
9impl Default for RtcConfig {
10    fn default() -> Self {
11        Self {
12            ice_servers: vec!["stun:stun.l.google.com:19302".to_string()],
13            prefer_codec: None,
14            enable_audio: true,
15            enable_video: true,
16        }
17    }
18}