[Webkit-unassigned] [Bug 175014] Frequent situations where iOS device locks up, requiring a hard reboot when consuming webrtc streams on IOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 6 08:34:53 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=175014

--- Comment #30 from Peter Vertenten <peter.vertenten at gmail.com> ---
I'm not sure what you mean by STP52. I can reproduce this on IOS 11.3 and Desktop Safari 11.1 (13605.1.25.1).


There does appear to be 2 separate issues.

Our setup may be not the most common, but here is what we do.

We programmatically ensure there is only ever 1 active video stream. We do allow multiple audio streams at once. So when the user on 1 side enables video they see their local camera and they publish their video stream, other users on the same call would stop their own video streams and unpublish it. 

So our calls start our like this.

Safari Peer Video ----->  Chrome Peer (one way)
Safari Peer Audio <---->  Chrome Peer Audio

The first issue we have happens when we try to swap who is the video holder. This is the issue that brought us here.

So moving to.

Chrome Peer Video ----->  Safari Peer (one way)
Safari Peer Audio <---->  Chrome Peer Audio

At this point one of a few things will happen.

1) It works! Yeah!
2) It works for a few seconds, then the video stream freezes in safari. Both on IOS and desktop safari.
3) The stream freezes and a notification that there is a problem occurs. Both on IOS and desktop safari.
4) The page reloads. Both on IOS and desktop.


The second issue.

The call starts out the same.

Safari Peer Video ----->  Chrome Peer
Safari Peer Audio <---->  Chrome Peer Audio

Then the safari peer disables video, and the call is audio only.

Safari Peer Audio <---->  Chrome Peer Audio (no change)

Then the safari peer re-adds video.
Safari Peer Video ----->  Chrome Peer
Safari Peer Audio <---->  Chrome Peer Audio (no change)

At this point again a few things happen.

1) It works!
2) The local video stream is frozen and the peer is getting no video. (IOS and desktop safari.)

If I manually call play on the video tag nothing happens, both autoplay and playsinline are already on the tag.

If I disable video again and reenable it, I don't even see a local video frame anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180406/62e2a09c/attachment-0002.html>


More information about the webkit-unassigned mailing list