W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2019

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Sep 2019 20:54:49 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-535216913-1569444888-sysbot+gh@w3.org>
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 https://github.com/w3c/webrtc-pc/issues/2306#issuecomment-535216913 using your GitHub account
Received on Wednesday, 25 September 2019 20:54:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:29 UTC