[Bug 25276] Initialization for VideoTrack.selected attribute is missing while specifying steps for "Loading and Playing a MediaStream in a Media Element"

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

--- Comment #1 from Kiran <kiran.guduru@samsung.com> ---
The fix will be more good if it is like this

o. AudioTrack.id and VideoTrack.id have the value of the corresponding
MediaStreamTrack.id attribute

o. AudioTrack.kind and VideoTrack.kind be "main"

o. AudioTrack.label and VideoTrack.label have the value of the corresponding
MediaStreamTrack.label attribute

o. AudioTrack.language and VideoTrack.language be the empty string

o. AudioTrack.enabled be true

o. VideoTrack.selected be false.

This statement is according to [1], "When a VideoTrack is created, its
selection state must be set to false (not selected)"

Than after specifying the selected index, the following line should be added

"Set the VideoTrack.selected to true for the VideoTrack at 
VideoTrackList.selectedIndex, if present any"


[1]
http://www.w3.org/TR/html5/embedded-content-0.html#audiotracklist-and-videotracklist-objects

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Thursday, 10 April 2014 10:11:28 UTC