[Webkit-unassigned] [Bug 209594] Unplugging headphones causes remote media to fail/freeze in iOS 13.4

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 02:19:33 PST 2020


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

--- Comment #5 from youenn fablet <youennf at gmail.com> ---
Until we try to improve our heuristics, there are some alternatives that might help:
1. Make sure to call play() for each video element as part of click a event. This will remove the autoplay restrictions. Suspend/resume should then work fine.

2. Register a pause event handler. When pause is set and play rejects, mute the media elements and call play. This should allow seeing the video tracks. Add some UI to ask users to play audio/unmute audio. User will click, you can then unmute the elements/call play on all elements.

3. For multi party calls where capture is not on, you might want to keep a buffer of html media elements. On click event, call play on all of these media elements. They do not need to be set to a given src. When you have some media stream to attach, set srcObject and you should be good.

-- 
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/20201208/b6105021/attachment-0001.htm>


More information about the webkit-unassigned mailing list