[Bug 22785] there should be a way to schedule audio/video track selection changes in HTMLMediaElements

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22785

--- Comment #10 from Michael Thornburgh <mthornbu@adobe.com> ---
(In reply to comment #3)
> Can you give an example showing why JS track selection might be needed in a
> case like this?

track selection from JavaScript is already possible, using the "selected"
property on VideoTrack and "enabled" property on AudioTrack.

as described in the initial bug description, when using MSE and inserting an
advertisement into a main program where the advertisement has a different track
configuration, different MSE SourceBuffers will be used, and there will be two
VideoTracks (one from the main program and one from the advertisement) and two
AudioTracks (one from the main program and one from the advertisement) on the
HTMLMediaElement.

on a transition from the main program content to the advertisement, it is
necessary to select the ad's video and audio tracks, and unselect the main
program's tracks.  when it's time to return to the main program, the ad's
tracks must be unselected and the main program's tracks selected.

this bug requests a means to schedule automatic track selection/deselection to
happen at pre-arranged times, without just-in-time JavaScript involvement.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 24 July 2013 22:05:11 UTC