mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-02-16 10:30:51 +00:00
fix webrtc example when webrtc disabled
This commit is contained in:
@@ -100,7 +100,7 @@ impl WebRTCStream {
|
||||
Self::get_remote_offer(remote_endpoint)?
|
||||
};
|
||||
|
||||
let key = remote_offer.clone();
|
||||
let mut key = remote_offer.clone();
|
||||
let mut lock = SESSIONS.lock().await;
|
||||
if let Some(cached_stream) = lock.get(&key) {
|
||||
if !key.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user