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

Interaction of AddStream and OfferToReceive

From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 19 Sep 2012 07:20:17 -0700
Message-ID: <CABcZeBO9oTdEa+yeYCy00cfm019EpA8tKQEK8mD6nn44bfH93w@mail.gmail.com>
To: public-webrtc@w3.org
I am trying to get clear on the interaction of the
OfferToReceive{Audio,Video} with
which m-lines go in the SDP. My general model is that the browser tries to
guess based on what streams you add and then you can finely control it
with constraints. I.e., I believe you get the following table for audio and a
similar one for video:

                                |    AddStream(audio)   |    No AddStream(audio)
OfferToReceiveAudio unspecified |    m=audio, sendrecv  |    no m-line
OfferToReceiveAudio = no        |    m=audio, sendonly  |    no m-line
OfferToReceiveAudio = yes       |    m=audio, sendrecv  |    m=audio, recvonly

Do people agree with this?

Received on Wednesday, 19 September 2012 14:21:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:30 UTC