mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-04-07 16:36:17 +00:00
support turn relay config, and force_relay option
This commit is contained in:
@@ -134,7 +134,7 @@ pub async fn connect_tcp<
|
||||
#[cfg(feature = "webrtc")]
|
||||
if is_webrtc_endpoint(&target.to_string()) {
|
||||
return Ok(Stream::WebRTC(
|
||||
webrtc::WebRTCStream::new(&target.to_string(), ms_timeout).await?,
|
||||
webrtc::WebRTCStream::new(&target.to_string(), false, ms_timeout).await?,
|
||||
));
|
||||
}
|
||||
let target_str = check_ws(&target.to_string());
|
||||
|
||||
Reference in New Issue
Block a user