Re: In defense of AddStream

On 11/15/2013 02:20 PM, cowwoc wrote:
>
> I don't fully understand the meaning of "doohickey" here but I wanted 
> to touch upon one of your points:
>
> On 15/11/2013 4:57 AM, Harald Alvestrand wrote:
>> one <video> tag needs to be fed one and only one MediaStream
>
> That doesn't work for my use-case, which is described in 
> https://code.google.com/p/webrtc/issues/detail?id=2627
>
> I need to be able to share the same MediaStream with multiple <video> 
> tags, each consuming it different (one muting the audio, another not). 
> I can see others wanting to potentially play the same MediaStream at 
> different indexes from different <video> tags (although I don't do 
> this myself).
>
> So, if you want to go with your model, we'd need a way to clone/tee 
> MediaStreams.

MediaStream(MediaStream) will make the clone you want.

>
> Gili
>

Received on Monday, 18 November 2013 08:57:13 UTC