"A MediaStreamTrack ended due to a capture failure" error occurs on Safari in around 30 seconds after peer connection establishes. This error can be observed most likely in Safari on BigSur 11.1 and 11.0.1, especially when multiple callers in a call. When this error occurs, safari caller will see self video tile as black, but remote callers can still see and hear safari caller well. But it does not on every device. If on 1 device it happens, it's likely to happen every time, and if on another device it does not happen, it's not likely to happen on that device. Seems it's same issue with more details has been reported in this thread: https://github.com/twilio/twilio-video.js/issues/1281
Hi Vicky, Can you reproduce with STP? If you can reproduce it, would you be able to take a sysdiagnose and send it to me (youenn@apple.com)? (In reply to Vicky Cen from comment #0) > "A MediaStreamTrack ended due to a capture failure" error occurs on Safari > in around 30 seconds after peer connection establishes. This error can be > observed most likely in Safari on BigSur 11.1 and 11.0.1, especially when > multiple callers in a call. When this error occurs, safari caller will see > self video tile as black, but remote callers can still see and hear safari > caller well. If a local capture track gets ended, it seems strange that remote callers could still see the corresponding remote track. > Seems it's same issue with more details has been reported in this thread: > https://github.com/twilio/twilio-video.js/issues/1281 According the thread, this seems fixed in iOS 14.2
Hi Youenn, I can reproduce with STP and sent you the sysdiagnose. However, it seems on STP when the error shows, safari caller will get black self video tile and remote caller can't see the track, but still can hear. (sysdiagnose attached and send to your email) On Safari 14.0.2, I did see when the error shows, safari caller will get black self video tile but remote caller can both see and hear the safari user.
Looking at sysdiagnose, some H264 encoding failures happen before capture starts failing.
<rdar://problem/73920852>
*** Bug 220998 has been marked as a duplicate of this bug. ***
Vicky, can you still reproduce this issue on recent Safaris?
Hi youenn, my colleagues and I have very limited number of testing on the latest Safari (Safari 15). We haven't seen this issue on Safari 15 so far.
Seeing it on Safari 15.(In reply to Vicky Cen from comment #7) > Hi youenn, my colleagues and I have very limited number of testing on the > latest Safari (Safari 15). We haven't seen this issue on Safari 15 so far.