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

Re: [webrtc-pc] behaviour of offerToReceive* set to false when there is a local track

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Sep 2017 17:33:15 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-328601543-1505151186-sysbot+gh@w3.org>
> was {offerToReceiveAudio: false} ever defined to make the m-line say sendonly

@stefhak The spec [used to say](https://dev.w3.org/2011/webrtc/editor/archives/20130603/webrtc.html#constraints): *"This constraint allows an application to indicate its preferences for receiving video when creating an offer."*

and 

*"This is an enum type constraint that can take the values "true" and "false". The default is a non mandatory "true" for an RTCPeerConnection object that has a video stream at the point in time when the constraints are being evaluated and is non mandatory "false" otherwise."*

I interpreted it at the time to mean that, which is why Firefox works that way. Chrome does too, as [I pointed out](https://github.com/w3c/webrtc-pc/issues/1461#issue-241153792).

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1586#issuecomment-328601543 using your GitHub account
Received on Monday, 11 September 2017 17:33:13 UTC

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