RE: No way to stop sending media but still displaying it locally

Hi,

>>>> What happens if you do setLocalDescriptor() with a=inactive/recvonly?
>>>
>>> AFAIR some browsers just ignore it so they do send the media.
>>
>> Doesn't that mean the browser(s) is behaving wrong?
>
> Probably, but it is also ugly that I have to call createOffer(), mangle the direction attributes of the SDP and call
> setLocalDescription() with it just to stop sending my media.

That I can agree with.

But, never the less, if we want browsers to ignore the direction attribute it should be documented.

However, JSEP says the following:

   "R-9   The SDP attributes of "sendonly", "recvonly", "inactive", and
          "sendrecv" from [RFC4566] MUST be implemented to signal
          information about media direction."

Regards,

Christer

Received on Thursday, 29 January 2015 14:22:20 UTC