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

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

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Sep 2017 19:23:09 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-327587494-1504725780-sysbot+gh@w3.org>
@stefhak Agree that on a browser that supports `addTransceiver` but not `offerToReceive`, `offerToReceive` could be implemented as a shim that called `addTransceiver`. 

This is also an argument for why `offerToReceive` is more of a convenience than a necessity.  Since there isn't an alternative way to support `offerToReceive` that creates `RtpSender`/`RtpReceiver` objects and all the methods that depend on them, if native support for `offerToReceive` is considered problematic, then the best alternative is probably to remove it from the spec and support it via shim if needed.


In fact, without an implicit call to `addTransceiver` it is not clear to me how to create RtpSender/RtpReceiver objects and enable methods referencing those objects to function as expected. 

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/1430#issuecomment-327587494 using your GitHub account
Received on Wednesday, 6 September 2017 19:23:08 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:42 UTC