Open Bug 985265 Opened 7 years ago Updated 6 years ago

[Stingray] Implement Track related methods and events in MediaStream.webidl

Categories

(Core :: Audio/Video: Playback, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

People

(Reporter: shelly, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [ft:conndevices])

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;
Depends on: 910249
Blocks: 980768
Whiteboard: [stingray]
Component: WebRTC: Audio/Video → Video/Audio
No longer blocks: 980768
Whiteboard: [stingray] → [FT:Stream3]
Whiteboard: [FT:Stream3] → [ft:conndevices]
Component: Audio/Video → Audio/Video: Playback
No longer depends on: 1223696
You need to log in before you can comment on or make changes to this bug.