Fix lost output audio when change client language
This commit is contained in:
parent
57c01b7ef8
commit
9dd38ef8f1
@ -70,7 +70,11 @@ export default {
|
||||
joinEchoTest: () => AudioManager.joinEchoTest(),
|
||||
toggleMuteMicrophone: debounce(toggleMuteMicrophone, 500, { leading: true, trailing: false }),
|
||||
changeInputDevice: inputDeviceId => AudioManager.changeInputDevice(inputDeviceId),
|
||||
changeOutputDevice: outputDeviceId => AudioManager.changeOutputDevice(outputDeviceId),
|
||||
changeOutputDevice: (outputDeviceId) => {
|
||||
if (AudioManager.outputDeviceId !== outputDeviceId) {
|
||||
AudioManager.changeOutputDevice(outputDeviceId);
|
||||
}
|
||||
},
|
||||
isConnected: () => AudioManager.isConnected,
|
||||
isTalking: () => AudioManager.isTalking,
|
||||
isHangingUp: () => AudioManager.isHangingUp,
|
||||
|
Loading…
Reference in New Issue
Block a user