This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21034 - Harmonize text regarding tracks and events
Summary: Harmonize text regarding tracks and events
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Aaron Colwell (c)
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 09:06 UTC by Cyril Concolato
Modified: 2013-02-19 01:05 UTC (History)
3 users (show)

See Also:


Attachments

Description Cyril Concolato 2013-02-18 09:06:32 UTC
In some cases, when changes are made to the tracks and track list objects, the MSE spec says:
"Queue a task to fire a simple event named change at the HTMLMediaElement track lists that were modified."
This is the case when changing the kind, language of a track or when removing a source buffer. 

But when processing an initialization segment and setting up the tracks such sentence is not used, for instance, it only says:
"Add new audio track to the audioTracks attribute on the HTMLMediaElement."
The removetrack events should also be called out in the removeSourceBuffer() algorithm as well.

Similar wording should be used throughout the spec to clarify the impact on the HTMLMediaElement.
Comment 1 Aaron Colwell (c) 2013-02-19 01:05:56 UTC
Changes committed.
https://dvcs.w3.org/hg/html-media/rev/d5956e93b991

Added 'addtrack' & 'removetrack' event firing steps. Added steps to fire 'change' events when enabled/selected tracks are removed.