Re: In defense of AddStream

On 2013-11-15 14:22, 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.

I think you misunderstood. The quoted text only puts requirements on the 
<video> tag. Nothing prevents the same MediaStream from being rendered 
in several <video> tags.

/Adam


Received on Monday, 18 November 2013 08:43:08 UTC