[Webkit-unassigned] [Bug 174656] RTCPeerConnection rollback rejects with InvalidStateError
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 6 03:56:23 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=174656
Dominik Menke <dom at digineo.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dom at digineo.de
--- Comment #6 from Dominik Menke <dom at digineo.de> ---
(sorry for hijacking this)
There's an example Rails application which deploys some workarounds for Safari:
https://github.com/domchristie/webrtc-hotwire-rails
The commit introducing support for Safari seems to be this one:
https://github.com/domchristie/webrtc-hotwire-rails/commit/2b845c1
However, with the recent iOS 14.5 update, Mobile Safari 14.1 now (sometimes) fails to negotiate a connection. The error I'm seeing in the Devtools when calling pc.setRemoteDescription(offer) is:
InvalidStateError: Description type incompatible with current signaling state
(pc.signalingState is "have-local-offer").
I've opened an issue within the webrtc-hotwire-rails to gather more information, including a repro steps:
https://github.com/domchristie/webrtc-hotwire-rails/issues/1
I suspect changeset 266511 (for Technology Preview 114) might be responsible for surfacing this issue:
https://trac.webkit.org/changeset/266511/webkit/
Currently, only iOS Safari seems to be affected, I could not reproduce it with the macOS version.
--
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/20210506/b2d3395f/attachment.htm>
More information about the webkit-unassigned
mailing list