Re: Updated Media Capture and Streams editor's draft

On 2013-03-25 05:29, Mandyam, Giridhar wrote:
>
> 2.  Section 4.2.2.  Why do the getVideoTracks/getAudioTracks methods
> return sequences instead of MediaStreamTrackArrays?

The returned structure is a snapshot of the unordered track sets in the 
stream at a given time. We want to pass it by value and let the script 
modify the structure without affecting the stream that returned it.

/Adam

http://dev.w3.org/2006/webapi/WebIDL/#idl-array
http://dev.w3.org/2006/webapi/WebIDL/#idl-sequence

Received on Monday, 25 March 2013 15:35:18 UTC