W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2014

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

From: Steev James <steev.a.james@gmail.com>
Date: Mon, 14 Apr 2014 17:45:36 +0530
Message-ID: <CAB1_PA55q54cy7wzhY3Ju6KwfkP+05JzkvoANx=baB6biAh7hA@mail.gmail.com>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Cc: "bugzilla@jessica.w3.org" <bugzilla@jessica.w3.org>, "public-media-capture@w3.org" <public-media-capture@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:26 UTC