W3C home > Mailing lists > Public > public-media-capture@w3.org > September 2012

User agent defined track kinds

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Fri, 28 Sep 2012 13:20:31 +0200
Message-ID: <506587FF.1090202@ericsson.com>
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
This should perhaps go into the bug tracker, but I couldn't find a media 
capture TF component.

The spec currently says:
kind of type DOMString, readonly

The MediaStreamTrack.kind attribute must return the string "audio" if 
the objectís corresponding track is or was an audio track, "video" if 
the corresponding track is or was a video track, and a user agent 
defined string otherwise.

I believe the last part about user agent defined strings is a leftover 
from the time where we had a combined list for all track types. Since 
we're aligned with the media elements and have a separate track list for 
each kind of track I think we should remove the part about user agent 
defined track kinds. Any future track kinds we add should get similar 
status as "audio" and "video" and get its own track list.

Received on Friday, 28 September 2012 11:36:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:36 UTC