W3C home > Mailing lists > Public > public-webrtc@w3.org > August 2011

Re: Spec question - multiple video tracks in a MediaStream?

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Thu, 25 Aug 2011 12:44:21 +0200
Message-ID: <4E562785.3030402@ericsson.com>
To: public-webrtc@w3.org
On 2011-08-25 11:34, Harald Alvestrand wrote:
> This came up on my team while implementing, and I'm posting it so we do
> not forget:
> If there are multiple video tracks active in a MediaStream, how should
> we connect them to<video>  tags?
> At the moment, the connection goes via URLs, and the URL is a function
> of the MediaStream, not of a track in the MediaStream. And I don't think
> <video>  has a defined behaviour for playing multiple video tracks at once.
> Possible solutions:
> - Declare that there can be at most one video track active in a
> MediaStream (this was true at one point)
> - Give the URL-generating function an optional parameter for the track
> index (defaulting to first video)
> - Feed the URL-generating function a track instead of a MediaStream
> - Just leave this behaviour undefined?
One solution is outlined in step 9 of 
(selects the first active video track for rendering).
> I don't like the last one.
>                     Harald
Received on Thursday, 25 August 2011 10:44:58 UTC

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