lib-jitsi-meet
lib-jitsi-meet copied to clipboard
change of audio input device ignored
Description
If the user changes his audio device (e.g. connects with a Bluetooth headset), the audio output switches automatically, but the input remains connected to the device in effect at the start of the session (e.g. internal microphone)
Expected Behaviour
The audio input should switch along with the audio output
Environment details
MacOS 10.13.x (High Sierra), Chrome 71, iMac internal audio vs AirPods. Also observed in other environments.
How are you chaning your audio device? When you change it from the macOS menu bar it will only change the output device. In order to change the input device you either press Alt/Option before you click on the menu bar, or do it from the system preferences panel.
the OS switches input automatically when you disconnect the external device; the internal microphone & output become the default devices, but JitsiMeetJS fails to handle the change
Confirm, we have the same problem. Do we have to handle it manually? What kind of event should we listen?
Have the same problem. Is there a way to set audio input with lib-jitsi-meet ?
There is currently only setAudioOutputDevice
but no setAudioInputDevice
. Was it because we are supposed to handle it by local track ? Just some pointer on how to achieve it is enough. If it is possible to do I will submit a PR to change.
I have double check on the react sample app, it uses a different mechanism by post message.
Bump, I am having the same issue...
I would like to allow the user to change audio input in lib-jitsi-meet
@saghul Same problem for me. Here you can see what is happening even in Jitsi Meet:
Now I'm changing my default input device in macOS and open this menu again with no reload:
It seems like that the input device in lib-jitsi-meet is hardly set to the default input device and if the default input device has changed it will not reselect the new default. The strange thing is that it is working fine while I'm in the lobby but after joining, changing the mic doesn't work anymore.
Any updates on this issue? Is there a way to select the input device using lib-jitsi-meet?