On Safari 15, Our product is encountering an issue, where the local media stream captured from device when trying to be sent over to remote, the remote party doesn't receive the media.
But the same product works fine when we use Safari 13 / Safari 14 / Any other browser (eg: Chrome/Firefox).
Whether this is an issue with Safari 15 or with the version of WebRTC used therein we aren't sure.
The normal flow which was working so far on a high level (older Safari version and other browsers)
join page -> create camera stream for self-view(preview) -> join (negotiation) -> pass camera stream
For making it work with safari 15, we are had to pass camera stream again after joining (negotiation)
join page -> create camera stream for self-view(preview) -> join (negotiation) -> capture camera stream again and pass the recent camera stream.
Let us know , If there is any change that needs to be addressed from our side with respect to any recent change that had gone in Safari 15 (that was not available in older version).
We are seeing this often in console logs as well : A MediaStreamTrack ended due to a capture failure while using Safari 15
Since this bug is marked as Regression.
In which release of safari can we expect a fix for this.
Hi Rabin, do you have a repro case, something like a fiddle?
Is the issue always happening when you hit 'A MediaStreamTrack ended due to a capture failure'?
Just updating here as well,
The issue which we face is not always in relation to 'A MediaStreamTrack ended due to a capture failure'.
logs which we could collect, shared it, to you over mail.
If you need a fiddle, you can test with the WebRTC sample here:
I tested on my own with an Ipad Pro M1 with IOS 15.0.1 and the result is a black screen on the receiver side.
It was working before upgrading the Ipad to IOS 15.x
I tried to remove the support of some experimental features in Safari but without success.
Thanks in advance
We're having the same kind of issue with Safari 15 on Big Sur.
We get the "A MediaStreamTrack ended due to a capture failure" error when we try a getUserMedia for audio. We can reproduce the issue consistently with:
The same audio gUM succeeds in Chrome instead. Video gUM works fine as well.
Same problem here. Same circumstances. Same repro with WebRTC samples.
Seems that there is no more issue on my side with IOS 15.0.2 and the sample https://webrtc.github.io/samples/src/content/peerconnection/pc1/
Could someone else confirm that with that version, problem is solved ?
Thanks in advance
Still not fixed in 15.2 Beta 2
Do we know if this issue is fixed now?
we had this problem for joining Meetings on our CMS, since iOS 15 and the bug from Cisco (https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvz76478) is referenced / based on this Bug 230752 here.
Now, I have installed iOS 15.3 on my iPhones and it seems to work again.
Can anyone confirm that this is fixed with iOS 15.3 ?
"Can anyone confirm that this is fixed with iOS 15.3?"
I can at least confirm that Safari on Mac 15.2 was not initially sending streams of audio or video type the first time sending them, and after updating to 15.3 the issue seems resolved.
*** This bug has been marked as a duplicate of bug 234296 ***
I can confirm that this Safari 15 isssue is fixed on iPadOS Version 15.3, iOS 15.2 and macOS 15.2 . Many thanks!
I think we are mixing two different:
- one related to peerconnection that has been fixed
- the other one related to audio capture (A MediaStreamTrack ended due to a capture failure) which is still not fixed in 15.3 to me.
If you continue noticing this console log please CC to bug: https://bugs.webkit.org/show_bug.cgi?id=233473