On Thu, Apr 24, 2014 at 4:57 PM, Martin Thomson <[email protected]>wrote:
> On 23 April 2014 21:13, Robert O'Callahan <[email protected]> wrote: > > I think it would be a good idea to align AudioTrack/VideoTrack and > > MediaStreamTrack by changing their specs. > > > > I think the best thing to do would be to change MediaStreamTrack to fit > > AudioTrack/VideoTrack. E.g. we could change MediatStreamTrack.kind to > "type" > > (and add it to AudioTrack/VideoTrack), and add "kind" and "language" to > > MediaStreamTrack. > > > > Martin, what do you think? > > That's sensible, though I wasn't previous aware of the distinction. > > MediaStreamTrack : AudioTrack, EventTarget seems like a natural fit. > That doesn't leave much that MediaStreamTrack adds, but that also > sounds just about right. > Actually I'm not proposing that MediaStreamTrack inherit from AudioTrack. It's possible that there's functionality which needs to be private to each kind of track. Rob -- Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

