W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2015

[Media Capture] 'label' needs direction and language metadata [I18N-ISSUE-464]

From: Phillips, Addison <addison@lab126.com>
Date: Fri, 15 May 2015 15:42:37 +0000
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
CC: "public-i18n-core@w3.org" <public-i18n-core@w3.org>
Message-ID: <7C0AF84C6D560544A17DDDEB68A9DFB52EDE0D50@ex10-mbx-36009.ant.amazon.com>
Hello WebRTC/DeviceAPI WGs,

The Internationalization WG reviewed your Last Call WD here:


This is the first of two issues we found. I will forward the second issue under separate cover (for tracking purposes--we use Tracker [1] for reviews) without this preamble.

The first issue is I18N-ISSUE-464:


The 'label' value is described as follows:

User Agents MAY label audio and video sources (e.g., "Internal microphone" or "External USB Webcam"). The MediaStreamTrack.label attribute MUST return the label of the object's corresponding source, if any. If the corresponding source has or had no label, the attribute MUST instead return the empty string.

Since the value is intended to contain natural language text, probably for consumption/display to the end-user, maybe it should be possible to determine or set the language (@lang) and base direction (@dir) of the text. This will allow the text to be displayed properly in different contexts: most text rendering systems depend on this information to do a good job, even within the same display context.

In addition, it may be useful to allow multiple labels in different languages (although generally the source's label is applied by the user's user-agent, and so will be appropriately localized??)

[1] https://www.w3.org/International/track/products/78 

Addison Phillips
Globalization Architect (Amazon Lab126)
Chair (W3C I18N WG)

Internationalization is not a feature.
It is an architecture.

Received on Friday, 15 May 2015 15:43:02 UTC

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