lib-jitsi-meet icon indicating copy to clipboard operation
lib-jitsi-meet copied to clipboard

change of audio input device ignored

Open adventmedia opened this issue 6 years ago • 8 comments

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.

adventmedia avatar Dec 19 '18 21:12 adventmedia

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.

saghul avatar Dec 20 '18 08:12 saghul

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

adventmedia avatar Dec 20 '18 16:12 adventmedia

Confirm, we have the same problem. Do we have to handle it manually? What kind of event should we listen?

ashitikov avatar Oct 21 '19 12:10 ashitikov

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.

nathando avatar Apr 16 '20 08:04 nathando

Bump, I am having the same issue...

AymericG avatar Sep 22 '20 05:09 AymericG

I would like to allow the user to change audio input in lib-jitsi-meet

AymericG avatar Sep 22 '20 05:09 AymericG

@saghul Same problem for me. Here you can see what is happening even in Jitsi Meet:

image

Now I'm changing my default input device in macOS and open this menu again with no reload:

image

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.

sapkra avatar Oct 04 '20 17:10 sapkra

Any updates on this issue? Is there a way to select the input device using lib-jitsi-meet?

ainnotate avatar Apr 29 '24 09:04 ainnotate