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

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