W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2011

Re: Mozilla/Cisco API Proposal Revisions

From: Ralph Giles <giles@thaumas.net>
Date: Tue, 19 Jul 2011 17:09:19 -0700
Message-ID: <CAEW_Rks3WQAdY6miHuVNsZwPZeR8=5A8Ekh5dMcEum95LRQQvw@mail.gmail.com>
To: Anant Narayanan <anant@mozilla.com>
Cc: public-webrtc@w3.org
On 19 July 2011 14:35, Anant Narayanan <anant@mozilla.com> wrote:

>        *ACTION*: Rename the 'type' attribute to 'kind', but instead of the
> only values being "video"/"audio", include more information such as codec
> type. Rename onTypeChanged to onKindChanged, and create a new track every
> time a change occurs.

The HTML media elements use 'type' to describe the 'MIME type' of a
media resource, and 'kind' for the role annotation of alternate
tracks. If you're going to reference the "IANA MIME media type" for
this field, I think it would be better to keep the attribute name as
'type' and aim for specific compatibility with the media.canPlayType
method and source.type attribute. Further details on content and
codecs can be stringified as per RFC 4281.

Received on Wednesday, 20 July 2011 00:09:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:25 UTC