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

> 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