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

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

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 5 Nov 2012 15:59:10 +0000
Message-ID: <CABkgnnW1rx9uctP+vKANfSL1YqHkgZhUpsdxeksxi3E5y2mQ_w@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 15:59:43 GMT