[webrtc-pc] Performing rollback via the other set*Description

soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== Performing rollback via the other set*Description ==
JSEP 4.1.8.2. says:

> A rollback is performed by supplying a session description of type "rollback" with empty contents to either setLocalDescription or setRemoteDescription, depending on which was most recently used (i.e. if the new offer was supplied to setLocalDescription, the rollback should be done using setLocalDescription as well).

The current spec doesn't seem to impose such restriction. So say if one calls `setLocalDescription(offer)` then `setRemoteDescription(rollback)`, should there be error thrown?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1470 using your GitHub account

Received on Monday, 10 July 2017 07:33:59 UTC