Re: [webrtc-pc] Explicit rollbacks (#2306)

Nothing "remote" about *setRemoteDescription(offer)* either, it just sets *pc.remoteDescription*.

To reset *pc.remoteDescription*, calling *setRemoteDescription({type: "rollback"})* seems intuitive.

Whereas throwing + needing to call *setLocalDescription({type: "rollback"})* instead doesn't. I vote (1).

> Having two operations that do exactly the same thing is confusing. In fact, it's so confusing that editors, implementors and specs got it wrong.

I think the confusion stemmed from not reading JSEP, and/or wanting a stricter API that made the distinction I just made explicit. I think proposal (2) would appease neither of those two groups.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 25 September 2019 20:54:50 UTC