RE: Additional requirement - audio-only communication

>>> A18  It MUST be possible for an initiator or a responder Web application
>>> to indicate the types of media he's willing to accept incoming streams
>>> for when setting up a connection (audio, video, other). The types of
>>> media he's willing to accept can be a subset of the types of media the
>>> browser is able to accept.
>> When do you think this should be indicated? I guess that in most cases
>> the establishment of a connection is foregone by some signaling (I
>> would like to communicate, would you?). Perhaps what media you would
>> be willing to receive can be agreed in this phase, and the sending
>> application would react by sending only the desired media. This way
>> there would not be a need to have specific APIs for this purpose.
>I think the PeerConnection will have to be told before it sends off its
>SDP Offer.
I agree. I was referring to signaling between the web apps happening before the creation of PeerConnection. One way to solve this would be to have such signaling ("I would like to communicate, would you?", "yes, but I only want audio") happening before creating the PeerConnection objects, using a mechanism outside the scope of this standard. That way the applications would have this knowledge when doing "addStream" (or even "getUserMedia"). 
>Having properties on the PeerConnection that one can set (with default
>"audio video") is one possible API.
That would be another way.

A third way, a bit uglier, would be that the user that would like to receive only audio only tells the local application only. The received stream would initially contain both audio and video, but only the audio would be rendered (since the app knows the user's preference). Using the media re-negotiation mechanism the video would over time be downscaled to a very low bitrate since it is not being rendered.

Stefan

Received on Tuesday, 23 August 2011 17:33:08 UTC