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 18:54:57 +0530
Message-ID: <CAB1_PA48=M_6_HSsRFuK4zffVQ3A2oizLOGQ0RyFcoGZCWOcvA@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>
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

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