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

Re: [webrtc-pc] Have createOffer call addTransceiver() on offerToReceive.

From: stefan hakansson via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Sep 2017 07:57:54 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-327406003-1504684665-sysbot+gh@w3.org>
I don't see this as createOffer() modifying state, but rather that when a user uses the legacy api ```offerToReceive``` they should really do ```addTrancseiver```, and the UA does it for the user (sort of a shim really).

This is is for legacy compatibility, and JSEP has removed everything about ```offerToReceive``` so I'm personally not overly concerned about aligning to the JSEP "spirit". I think this PR is a pragmatic way to add legacy compatibility we decided to do in a VI.

-- 
GitHub Notification of comment by stefhak
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/1430#issuecomment-327406003 using your GitHub account
Received on Wednesday, 6 September 2017 07:57:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:45 UTC