Re: Spec question: Using settings dictionaries instead of MediaConstraints ([ACTION-50])

On Jun 18, 2012, at 19:53 , Eric Rescorla wrote:

>>> 
>>> This results in new dictionaries IceOptions and
>>> SessionDescriptionOptions, with values as shown below:
>>> 
>>> IceOptions.AllowedCandidates = ("none", "relay", "all) // "all", if not
>>> specified
>>> 
>>> SessionDescriptionOptions.IncludeAudio = true/false // forces m=audio
>>> line to be included
>>> SessionDescriptionOptions.IncludeVideo = true/false // forces m=video
>>> line to be included
> 
> By "forces" you mean "even if I don't include a video stream"?
> That's what I'm taking from Adam's comment.
> What happens if I AddStream() a video stream  but set this to
> false?
> 
> Maybe it would make more sense to have this *only* control
> generating a recv-type media stream and have addstream
> control only a send-type.

I'd much prefer using the terminology that is currently defined in the spec for constraints to do this which is 

OfferToReceiveVideo

and not IncludeVideo

Have a read of section 5.1

Received on Friday, 22 June 2012 01:05:20 UTC