mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-19 23:02:16 +00:00
feat: set audio only mode
This commit is contained in:
1 parent
3b34e2ea45
commit
9134c2826e
2 files changed
+11
-10
No files matched your search
@@ -172,7 +172,7 @@ impl Connection {
|
||||
// Start a audio thread to play the audio sent by peer.
|
||||
let latency_controller = LatencyController::new();
|
||||
// No video frame will be sent here, so we need to disable latency controller, or audio check may fail.
|
||||
latency_controller.lock().unwrap().set_enabled(false);
|
||||
latency_controller.lock().unwrap().set_audio_only(true);
|
||||
let audio_sender = start_audio_thread(Some(latency_controller));
|
||||
let mut conn = Self {
|
||||
inner: ConnInner {
|
||||
|
||||
Reference in new issue
Block a user