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

Re: Question about MediaStreamTrack behavior

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Wed, 16 Nov 2011 14:12:01 +0100
Message-ID: <4EC3B6A1.1000300@ericsson.com>
To: "Chen, Miaobo" <miaobo.chen@intel.com>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 11/16/2011 09:49 AM, Chen, Miaobo wrote:
> Hi, another question about section 3.2.1, when construct a new MediaStream object from original MediaStreamTrack objects list, we want to confirm that the newly constructed MediaStream object would contain a cloned copy of MediaStreamTrack objects of the original ones, and the 'enabled' attribute in newly created MediaStreamTrack objects' can be set independent of their origin, Is that correct?
>

That's correct. Separate instances are required to have different 
enabled/disabled states between tracks even though they are fed by the 
same underlying media source (e.g. camera).

/Adam
Received on Wednesday, 16 November 2011 13:16:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 November 2011 13:16:30 GMT