Closed Bug 1689431 Opened 4 years ago Closed 2 years ago

Quickly disconnecting and reconnecting a Bluetooth device mid-video-play causes sound to be lost

Categories

(Core :: Audio/Video: cubeb, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1678846

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.

Summary: Disconnecting a Bluetooth audio device mid-play causes sound to be lost → Quickly disconnecting and reconnecting a Bluetooth device mid-video-play causes sound to be lost

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.

Flags: needinfo?(mhoye)
See Also: → 1678846
Severity: -- → S3
Priority: -- → P3

Matthew, do you think it is still relevant? thanks

Flags: needinfo?(mhoye) → needinfo?(kinetik)

I'll dupe this to bug 1678846, since that's the same issue with a bit more detail and discussion of potential solutions.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1678846
Flags: needinfo?(kinetik)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.