W3C home > Mailing lists > Public > public-webrtc@w3.org > February 2014

Re: Update of Doohickey/AddTrack proposal

From: Harald Alvestrand <harald@alvestrand.no>
Date: Tue, 11 Feb 2014 22:04:50 +0100
Message-ID: <52FA9072.7060606@alvestrand.no>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>, Justin Uberti <juberti@google.com>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 02/11/2014 02:12 PM, Adam Bergkvist wrote:
> On 2014-02-11 00:24, Justin Uberti wrote:
>> I tend to agree with Harald. There may be other options in the future,
>> but for now, I think a track needs to signal what stream(s) it is a part
>> of, so that the simple send-audio-and-video-as-synchronized case works.
>>
>> Regardless, I'd like to advance this proposal so that we can start
>> nailing down any necessary details on the RTCRtpSender/Receiver objects
>> (AKA doohickeys).
>>
>
> I can see the behavior you want to preserve, but how should it work in
> practice?
>
> Imagine that a RTCPeerConnection gets an incoming track. The track has
> info that indicates that it belongs to five different MediaStreams.

If we don't have addStream, the only logical course I see is to create
five MediaStreams, and, if we keep onaddstream, fire five addstream events.

If we keep addStream, the sending PC can know which streams are of
interest, and can signal only those streams.

But we need to have a proposal from the proponents of
s/addStream/addTrack/ on this.

>
> If the track is added to a sixth stream on the sender side, should
> that be signaled to update the receiver end? Same thing with removal.

As with everything related to signalling, once the signal gets to the
receiver, info will be updated. The real question is whether
negotiationneeded should be fired on the sending side when this happens.

>
> Out of the five streams, which one should this side use? Other tracks
> may come shortly that only belongs to a subset of the streams the
> first track belonged to. It's probably one of those streams I should
> use, but this becomes quite hard to manage.
>

What do you mean by "use"?

The track must be added to all streams that it's identified in
signalling to belong to, and no others.

> /Adam
>


-- 
Surveillance is pervasive. Go Dark.
Received on Tuesday, 11 February 2014 21:05:25 UTC

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