Sometimes, when Safari is sending video via WebRTC, after a few minutes the following error occurs: "A MediaStreamTrack ended due to a capture failure." This can be a problem for video conferencing web apps, since the camera device stops being captured in the middle of a meeting. I was able to reproduce this a few times yesterday, but it seems to happen randomly. It looks like it's a common issue with Safari based on what I've read online: https://developer.apple.com/forums/thread/667453. Here is info about my machine, for reference: - MacBook Pro (13-inch, 2017) - macOS Big Sur (11.0.1) Let me know if you need additional information. Thanks.
Sorry, forgot to include my Safari version: 14.0.1 (16610.2.11.51.8)
Thanks for the report. I think this is fixed in https://bugs.webkit.org/show_bug.cgi?id=218389. Can you reproduce in Safari Tech Preview on the same machine?
Marking as duplicate. Please reopen if you still see the issue with a more recent Safari, either STP except 118 or Safari in most recent MacOS 11.2 beta. *** This bug has been marked as a duplicate of bug 218389 ***
Hi, I just tested with Safari Technology Preview (Release 119). I am still encountering the same problem with the same error message: "A MediaStreamTrack ended due to a capture failure." I'm a Webex developer, and I've found a way to reproduce this consistently. Let me know if there is anything I can do to help narrow down the root cause.
<rdar://problem/73901050>
*** This bug has been marked as a duplicate of bug 221192 ***
Reopening as logs do not seem to validate the dupe I made.
We think we're seeing this in Confrere as well. Could you share the exact reproduction steps btham?
FWIW, we increased the timer to 30 seconds. After 30 seconds without any frame, we end the track, which allows the application to take action on the ended event to call getUserMedia again for instance.
This was fixed or not yet? We can't find a way good to patch this.
btham@cisco.com, if you still have repro steps, can you share them?
Hey Youenn, as we discussed 1:1 via email, my issue seems to have been fixed as of STP 120. Unfortunately, I do not have specific reproduction steps, since for me the issue seems to have been happening randomly. Not sure the issue other people are reporting here are the same as mine, however.