Re: [Bug 25275] VideoTrackList.selectedIndex initialization confilicts with HTML5 spec, "if no track is selected".

Stefan,
This link is just specifying that AudioTracks / VideoTracks can have
multiple tracks and,
"The VideoTrackList.selectedIndex attribute must return the index of the
currently selected track, if any. If the
VideoTrackList<http://www.w3.org/TR/html5/embedded-content-0.html#videotracklist>
 object does not currently represent any tracks, or if none of the tracks
are selected, it must instead return −1."


It is not mandating the default initialization to first track. But
MediaStreams is mandating it to initialize it to '0' track of the list. So "if
none of the tracks are selected" has no room in MediaStreams spec.



On Mon, Apr 14, 2014 at 5:02 PM, Stefan Håkansson LK <
stefan.lk.hakansson@ericsson.com> wrote:

> On 2014-04-14 08:58, bugzilla@jessica.w3.org wrote:
> > https://www.w3.org/Bugs/Public/show_bug.cgi?id=25275
> >
> > steev <steev.a.james@gmail.com> changed:
> >
> >             What    |Removed                     |Added
> >
> ----------------------------------------------------------------------------
> >                   CC|                            |
> steev.a.james@gmail.com
> >
> > --- Comment #5 from steev <steev.a.james@gmail.com> ---
> > MediaElement spec has not mentioned anything about "how" to select a
> track.
>
>
> http://www.w3.org/TR/html5/embedded-content-0.html#media-resources-with-multiple-media-tracks
> details this.
>
> > Is
> > there any special interst for specifying this in media streams spec?
> >
>
>
>

Received on Monday, 14 April 2014 12:16:04 UTC