[Bug 22137] changes in number of audio tracks during advert insertion

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

--- Comment #11 from Michael Thornburgh <mthornbu@adobe.com> ---
(In reply to comment #10)
> [...] 
> Just disable/unselect the tracks that are provided by that SourceBuffer.
> That should cause the SourceBuffer to be removed from activeSourceBuffers
> which in turn should prevent it from causing playback to stall.

it's my understanding that enabling/disabling tracks takes effect immediately
(at playback time), not at append/buffering time.

if you scheduled a track disable for a particular point in playback, you might
not be able to reach that point because playback could already be stalled for
lack of data in a SourceBuffer.  if you let buffers run dry, then
enable/disable the appropriate tracks, then begin appending again, you'd avoid
the SourceBuffer stall but you'd have a playback stall/glitch.

if you enable/disable tracks while appending, tracks would enter or leave
playback at the wrong times, potentially not presenting the intended tracks to
the user or showing inappropriate tracks to the user.

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

Received on Monday, 22 July 2013 22:08:38 UTC