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

Hmm,
My reay intention is "if none of the tracks are selected" has no room in
MediaStreams spec.


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

> On 2014-04-14 14:15, Steev James wrote:
> > 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."
>
> Hm, we must be talking past each other. I read your comment
> 'MediaElement spec has not mentioned anything about "how" to select a
> track.', and responded to it because I think that is precisely what you
> _can_ do with the enabled (audio) and selected (video) attributes.
>
> >
> >
> > 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
> > <mailto:stefan.lk.hakansson@ericsson.com>> wrote:
> >
> >     On 2014-04-14 08:58, bugzilla@jessica.w3.org
> >     <mailto:bugzilla@jessica.w3.org> wrote:
> >      > https://www.w3.org/Bugs/Public/show_bug.cgi?id=25275
> >      >
> >      > steev <steev.a.james@gmail.com <mailto:steev.a.james@gmail.com>>
> >     changed:
> >      >
> >      >             What    |Removed                     |Added
> >      >
> >
> ----------------------------------------------------------------------------
> >      >                   CC|
> >       |steev.a.james@gmail.com <mailto:steev.a.james@gmail.com>
> >      >
> >      > --- Comment #5 from steev <steev.a.james@gmail.com
> >     <mailto: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 13:25:25 UTC