W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2013

Re: In defense of AddStream

From: Harald Alvestrand <harald@alvestrand.no>
Date: Mon, 18 Nov 2013 09:56:43 +0100
Message-ID: <5289D64B.9070806@alvestrand.no>
To: public-webrtc@w3.org
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

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