Quickly disconnecting and reconnecting a Bluetooth device mid-video-play causes sound to be lost
Categories
(Core :: Audio/Video: cubeb, defect, P3)
Tracking
()
People
(Reporter: mhoye, Unassigned)
References
Details
Turning my bluetooth headset of and on again quickly can cause audio playback to fail while watching Youtube in Firefox.
I am using a Bluetooth headset with a physical switch to turn it on and off. If I do so, turning it off hands playback back to the desktop speakers correctly; the video continues playing from the desktop speakers. But if I reconnect it immediately, the headset connects - the tab's not muted, the video doesn't think it's muted and the OS reports that this is now my sound card - but no sound comes back to the headset even as the video continues to play.
This lasts until I reload the tab, which causes sound to play normally again. I can reproduce this at will.
I'm on Win10 current, Nightly current, hardware is a 2018 Surface Book.
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Maybe we're missing or coalescing default device change events if they're too close together. Can you please try to reproduce this with logging enabled? timestamp,sync,AudioNotificationReceiver:5,AudioNotificationSender:5,cubeb:4,AudioStream:5
should cover the relevant code.
Updated•4 years ago
|
Comment 2•2 years ago
|
||
Matthew, do you think it is still relevant? thanks
Comment 3•2 years ago
|
||
I'll dupe this to bug 1678846, since that's the same issue with a bit more detail and discussion of potential solutions.
Description
•