Open Bug 985265 Opened 7 years ago Updated 6 years ago
[Stingray] Implement Track related methods and events in Media
The type of media source is recommended as MediaStream by TV Tuner API (Still in editor's draft). A MediaSteam object streamed by the TV tuner could contain multiple tracks, therefore, MediaStream should be able to handle multi-tracks events. These are the unfinished methods and events which I think are related with track, and this bug is focused on these implementations. MediaStreamTrack getTrackById (DOMString trackId); void addTrack (MediaStreamTrack track); void removeTrack (MediaStreamTrack track); attribute boolean ended; attribute EventHandler onended; attribute EventHandler onaddtrack; attribute EventHandler onremovetrack;
You need to log in before you can comment on or make changes to this bug.