Re: [MSE] Track and track events

Le 15/02/2013 18:07, Aaron Colwell a écrit :
> Hi Cyril,
>
> I was assuming that adding the track to the list would fire the event, 
> but I don't mind being more explicit about this in the MSE spec. The 
> removetrack events should also be called out in the 
> removeSourceBuffer() algorithm as well. Please file a bug for this and 
> I'll take care of updating the spec.
Done:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21034

Cyril
>
> Aaron
>
>
> On Fri, Feb 15, 2013 at 2:41 AM, Cyril Concolato 
> <cyril.concolato@telecom-paristech.fr 
> <mailto:cyril.concolato@telecom-paristech.fr>> wrote:
>
>     Hi Bob,
>
>     Le 22/01/2013 18:09, Bob Lund a écrit :
>
>
>         On 1/22/13 9:57 AM, "Cyril Concolato"
>         <cyril.concolato@telecom-paristech.fr
>         <mailto:cyril.concolato@telecom-paristech.fr>> wrote:
>
>             Hi all,
>
>             I'm wondering if the creation of tracks and addition of
>             tracks to the
>             HTMLMediaElement tracks lists as indicated here
>             https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.h
>             tml#sourcebuffer-init-segment-received
>             should fire addtrack events on the HTMLMediaElement track
>             lists or not ?
>             I think it should and maybe it's covered already by some
>             reference to
>             the HTML5 spec, but I couldn't find it.
>
>         Check out the onchange, onaddtrack and onremovetrack event
>         handlers for
>         Video and Audio track lists
>         http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#audiot
>         racklist and same (except for onchange) for Text track lists
>         http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#texttr
>         acklist
>
>     Thanks for the links but they do not completely answer my
>     question. Let me rephrase. In some cases the MSE spec says:
>     "Queue a task to fire a simple event named change at the
>     HTMLMediaElement track lists that were modified."
>     for instance when changing the kind, language of a track or when
>     removing a source buffer. But when processing an initialization
>     segment such sentence is not used, for instance, it only says:
>     "Add new audio track to the audioTracks attribute on the
>     HTMLMediaElement."
>     I think it could be clearer.
>
>
>     Cyril
>
>     -- 
>     Cyril Concolato
>     Maître de Conférences/Associate Professor
>     Groupe Multimedia/Multimedia Group
>     Telecom ParisTech
>     46 rue Barrault
>     75 013 Paris, France
>     http://concolato.wp.mines-telecom.fr/
>
>
>


-- 
Cyril Concolato
Maître de Conférences/Associate Professor
Groupe Multimedia/Multimedia Group
Telecom ParisTech
46 rue Barrault
75 013 Paris, France
http://concolato.wp.mines-telecom.fr/

Received on Monday, 18 February 2013 09:07:39 UTC