Bug 230752
| Summary: | REGRESSION (Safari 15): Not sending over media after the initial negotiation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rabin <ravarghe> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Major | CC: | alex, daniel.stabel, dan, dom, Evan.Roberts, francesco.durighetto, hleguern, info, markus.plesner, mawojtcz, oanguenot, streambot, teodor.atroshenko, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
Rabin
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).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Rabin
We are seeing this often in console logs as well : A MediaStreamTrack ended due to a capture failure while using Safari 15
Radar WebKit Bug Importer
<rdar://problem/83552503>
Rabin
Since this bug is marked as Regression.
In which release of safari can we expect a fix for this.
youenn fablet
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'?
Rabin
Hi Youenn,
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.
Olivier Anguenot
Hi Youenn,
If you need a fiddle, you can test with the WebRTC sample here:
https://webrtc.github.io/samples/src/content/peerconnection/pc1/
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
Alessandro Amirante
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:
https://webrtc.github.io/samples/src/content/getusermedia/volume/
The same audio gUM succeeds in Chrome instead. Video gUM works fine as well.
Teodor
Same problem here. Same circumstances. Same repro with WebRTC samples.
Olivier Anguenot
Hello,
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
Markus
Still not fixed in 15.2 Beta 2
hleguern
Hi folks,
Do we know if this issue is fixed now?
Daniel Stabel
Hello,
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 ?
Jeremy Harris
"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.
youenn fablet
*** This bug has been marked as a duplicate of bug 234296 ***
Markus
I can confirm that this Safari 15 isssue is fixed on iPadOS Version 15.3, iOS 15.2 and macOS 15.2 . Many thanks!
Francesco Durighetto (kekkokk)
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