W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2020

[webrtc-pc] Rollback throws InvalidStateError on mobile Safari (#2538)

From: gcimsir via GitHub <sysbot+gh@w3.org>
Date: Sat, 13 Jun 2020 19:39:56 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-638219192-1592077195-sysbot+gh@w3.org>
goekhancimsir has just created a new issue for https://github.com/w3c/webrtc-pc:

== Rollback throws InvalidStateError on mobile Safari ==
#2479  Versions affected

**mobile Safari, iOS 13.4.1**

**adapter.js (latest)**

## Description
Rollback of the peer connection state by calling `pc.setLocalDescription({type: "rollback"})` throws an error of type InvalidStateError.

## Steps to reproduce
- Open [jsfiddle](https://jsfiddle.net/8eap2t9r/1/) in mobile Safari
- Click / Press "Run"

## Expected results
`pc.setLocalDescription({type: "rollback"})` should not throw any error and rollback the peer connections signaling state to "stable"

## Actual results
Rollback of the peer connections state to "stable" fails since an error is thrown. 

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2538 using your GitHub account
Received on Saturday, 13 June 2020 19:39:57 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:51 UTC