| Summary: | "A MediaStreamTrack ended due to a capture failure" when selecting bluetooth headphones as audio input device | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tal Bar <tal.bar2005> |
| Component: | WebRTC | Assignee: | youenn fablet <youennf> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 12 | ||
|
Description
Tal Bar
2022-10-27 04:09:42 PDT
Looking at the sysdiagnose provided by Mal Bar, it seems we compute a buffer size that is too small for what is expected by the BT headphones. We detect that it is too small but next recompilation will use the AudioSession buffer size, which remains the same. Hence a loop and a timer based failure. It might be the AudioSession is computing according the default device, while we are using a non default device. We should probably make this code more robust to this error. I am not able to reproduce with AirPods, so it might some BT headsets that have the issue. Pull request: https://github.com/WebKit/WebKit/pull/5855 Committed 256091@main (b818b253da1d): <https://commits.webkit.org/256091@main> Reviewed commits have been landed. Closing PR #5855 and removing active labels. |