mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-02-16 02:20:43 +00:00
support turn relay config, and force_relay option
This commit is contained in:
@@ -70,7 +70,7 @@ async fn main() -> Result<()> {
|
||||
"".to_string()
|
||||
};
|
||||
|
||||
let webrtc_stream = WebRTCStream::new(&remote_endpoint, 30000).await?;
|
||||
let webrtc_stream = WebRTCStream::new(&remote_endpoint, false, 30000).await?;
|
||||
// Print the offer to be sent to the other peer
|
||||
let local_endpoint = webrtc_stream.get_local_endpoint().await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user