On 2012-11-05 16:59, Martin Thomson wrote: > 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. > There's more to it. We need to move the add(MediaStreamTrack)/remove(...) functions and the event handler attributes as well. I think the track lists should be attributes on MediaStream similar to the track lists on the media elements; it's not possible with sequences. A sequence is also about order which is the thing we want to move away from. /AdamReceived on Tuesday, 6 November 2012 10:15:20 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:35 UTC