[Affected versions]: Nightly 59.0a1 [Affected platforms]: Platforms: Windows 10 x 64 [Steps to reproduce]: 1. Load: https://mozilla.github.io/webrtc-landing/gum_test.html 2. Make sure that the USB headset is unplugged. 2. Click on “Audio + Video” and accept the webcam and microphone prompt. 3. Uncheck the "Muted" box. 4. Plug the USB headset. 5. Unplug the USB headset. [Expected result]: Unplugging a USB headset mid-capture can break capture with getUserMedia [Actual result]: The audio is captured, and output is available from the proper device each time. [Note]: On Ubuntu 16.04 the USB reconnect, works only if you select the correct source after re plugging the USB headset.
The same issue occurred on Windows 7 using USB headset and also using TRRS headset.
We have caught the same issue as comment 0 on Ubuntu 15.04. (the capture freezes when usb is unplugged/plugged back in). On Ubuntu 14.04 the issue is not reproducible.
Same issue on Android devices: the incoming video (including own preview) freezes when the TRRS headset is unplugged (TRRS Headset LG). Video output continues to work. The problem is fixed by refreshing the page. Devices: Huawei Honor 8 (Android 7.0) HTC Desire 820 (Android 6.0.1)
I just noticed that the expected result and the actual results are reversed. Sorry for that.
I can repro this bug with these STRs 1. Load: https://mozilla.github.io/webrtc-landing/gum_test.html 2. Make sure that the USB headset is unplugged. 3. Click on “Audio + Video” and accept the webcam and microphone prompt. 4. Plug the USB headset. The bug is similar to bug 1384805. After the headset is plugged in, there is no callback from AudioCallbackDriver / cubeb anymore. Chun-Min, could you help check this problem?
You need to log in before you can comment on or make changes to this bug.