mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
opt: open audio when needed
This commit is contained in:
@@ -1251,8 +1251,9 @@ impl<T: InvokeUiSession> Remote<T> {
|
||||
}
|
||||
Some(message::Union::VoiceCallRequest(request)) => {
|
||||
if request.is_connect {
|
||||
// TODO: maybe we will do voice call from the peer in the future.
|
||||
// TODO: maybe we will do a voice call from the peer in the future.
|
||||
} else {
|
||||
log::debug!("The remote has requested to close the voice call");
|
||||
if let Some(sender) = self.stop_voice_call_sender.take() {
|
||||
allow_err!(sender.send(()));
|
||||
self.handler.on_voice_call_closed("");
|
||||
|
||||
Reference in New Issue
Block a user