Bug 236350

Summary: Bluetooth headphones can't be recaptured
Product: WebKit Reporter: Kongpheng <Kongpheng.Nanthavongsa>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: youennf
Priority: P2    
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   

Kongpheng
Reported 2022-02-08 23:37:40 PST
To reproduce, you'll need some bluetooth headphones: * Go to https://webrtc.github.io/samples/src/content/getusermedia/volume/ * Open console window of Safari -- I reproduced using version 15.1 * Click Start button * When/If prompted for permission for access to microphone, grant it * Click Stop button * Click Start button * Notice the error "A MediaStreamTrack ended due to a capture failure" in the console Issue isn't reproducible without bluetooth headphones. Don't know if issue is limited to certain models of bluetooth headsets, but we were able to reproduce using Sony WH-1000XM3 and Bose NC700 headphones.
Attachments
Kongpheng
Comment 1 2022-02-09 08:27:30 PST
My coworker root caused the issue to a bug with the sample code. A PR was submitted: https://github.com/webrtc/samples/issues/1514. I wonder if resources aren't being reclaimed somehow. It's odd that this issue impacts Safari, but not Chrome. In any case, will close the issue. Thank you for your help and apologies for the mixup.
Note You need to log in before you can comment on or make changes to this bug.