- From: Randell Jesup <randell-ietf@jesup.org>
- Date: Wed, 24 Aug 2011 03:52:39 -0400
- To: public-webrtc@w3.org
On 8/23/2011 1:32 PM, Stefan Håkansson LK wrote: >>>> 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"). I'm confused: why would not this be handled in the Offer/Answer phase? (either within SIP if we use it, or within Offer/Answer if we don't use SIP). Accept m=audio, reject m=video > > > 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 > Shudder... Why in this case would you not re-negotiate (offer/answer) to remove the video stream? I assume it's because you think there's no way to negotiate it. -- Randell Jesup randell-ietf@jesup.org
Received on Wednesday, 24 August 2011 07:55:38 UTC