WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
253834
A mediastreamtrack ended due to a capture failure
https://bugs.webkit.org/show_bug.cgi?id=253834
Summary
A mediastreamtrack ended due to a capture failure
Ara
Reported
2023-03-13 09:44:18 PDT
The error appears every time the user switches from the MacBook microphone to the iPod or iPhone microphone. Sometimes it happens that the Bluetooth headphones are not connected, but the error is also displayed in the console. Everything works fine in Google Chrome or firefox, the error is only in safari. It also happens that the camera and the screen sharing is not displayed at the first start, and the console gives the above error. We have observed this error on recent Mac computers with m1 and m2 processors with the latest version of mac os and safari. MediaStreamTrack.onended is also triggering.
Attachments
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2023-03-13 11:33:45 PDT
I am not sure about camera and screen sharing. With regards to microphone, Safari only supports one microphone for now, so capturing in one mic will kill the previous capture if it is not the same microphone. Is the request to support multiple microphones at the same time?
Ara
Comment 2
2023-03-13 12:05:30 PDT
//Is the request to support multiple microphones at the same time? - No The user broadcasts on a macbook microphone, selects airpods or an iPhone microphone from the list. We do these steps, the stream closes and track stops, MediaStreamTrack.stop() and a new one is taken via getUserMedia({deviceID: {exact: airpodsDeviceId}}) and as soon as the stream opens to the server, an error showing in the console.
Radar WebKit Bug Importer
Comment 3
2023-03-20 09:45:20 PDT
<
rdar://problem/106948546
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug