@@ -44,22 +44,22 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
4444 . with_share_screen_config (
4545 ShareScreenConfig :: new ( "0.0.0.0:9090" . to_string ( ) )
4646 . with_save_mp4 ( true )
47- . with_disable_host_ipv6 ( true )
48- // .with_enable_https(true)
49- // .with_cert_file(Some("../wrtc/data/ca.crt".to_string()))
50- // .with_key_file(Some("../wrtc/data/ca.key".to_string()))
51- // start turnserver: `turnserver -c ./turnserver.conf -v`
52- // .with_turn_server(Some(RTCIceServer {
53- // urls: vec!["turn:192.168.10.8:3478".to_string()],
54- // username: "foo".to_string(),
55- // credential: "123456".to_string(),
56- // })) // NOTE: change or remove it
57- // .with_stun_server(Some(RTCIceServer {
58- // urls: vec!["stun:192.168.10.8:3478".to_string()],
59- // username: "foo".to_string(),
60- // credential: "123456".to_string(),
61- // })) // NOTE: change or remove it
62- . with_host_ips ( vec ! [ "192.168.10.8" . to_string( ) ] ) , // NOTE: change or remove it
47+ . with_disable_host_ipv6 ( true ) ,
48+ // .with_enable_https(true)
49+ // .with_cert_file(Some("../wrtc/data/ca.crt".to_string()))
50+ // .with_key_file(Some("../wrtc/data/ca.key".to_string()))
51+ // start turnserver: `turnserver -c ./turnserver.conf -v`
52+ // .with_turn_server(Some(RTCIceServer {
53+ // urls: vec!["turn:192.168.10.8:3478".to_string()],
54+ // username: "foo".to_string(),
55+ // credential: "123456".to_string(),
56+ // })) // NOTE: change or remove it
57+ // .with_stun_server(Some(RTCIceServer {
58+ // urls: vec!["stun:192.168.10.8:3478".to_string()],
59+ // username: "foo".to_string(),
60+ // credential: "123456".to_string(),
61+ // })) // NOTE: change or remove it
62+ // .with_host_ips(vec!["192.168.10.8".to_string()]), // NOTE: change or remove it
6363 )
6464 . with_enable_recording_speaker ( true )
6565 // .with_audio_device_name(Some(default_input.name))
0 commit comments