Re: [ACTION-59] Introduce lookup by id structures for streams and tracks.

On 5 November 2012 14:12, Harald Alvestrand <harald@alvestrand.no> wrote:
> I like simplicity.
> I'd like to introduce three operators on a MediaStream:
>
> sequence<MediaStreamTrack> videoTracks()
> sequence<MediaStreamTrack> audioTracks()
> sequence<MediaStreamTrack> allTracks()

That would be my preference.

Add a "MediaStreamTrack? getTrackById(DOMString id)" and we're good.

Received on Monday, 5 November 2012 15:59:42 UTC