ISSUE-464: 'label' needs direction and language metadata

'label' needs direction and language metadata

Raised by:
Addison Phillips
Opened on:

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.

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??)
Related Actions Items:
No related actions
Related emails:
  1. Weekly github digest (Tracker items) (from on 2020-03-11)
  2. Daily github digest (WG INTERNAL review issues) (from on 2020-03-10)
  3. Seeking guidance or closure on ISSUE-464 (from on 2015-09-25)
  4. [Media Capture] 'label' needs direction and language metadata [I18N-ISSUE-464] (from on 2015-05-15)
  5. [minutes] Internationalization telecon 2015-05-14 (from on 2015-05-14)
  6. [minutes] Internationalization telecon 2015-05-07 (from on 2015-05-14)
  7. [minutes] Internationalization telecon 2015-05-07 (from on 2015-05-14)
  8. I18N-ISSUE-464: 'label' needs direction and language metadata [media-capture-and-streams] (from on 2015-04-24)

Related notes:

removed 'provisional' marker per teleconference

Addison Phillips, 15 May 2015, 15:36:50

Richard Ishida, 17 Mar 2016, 12:49:20

Display change log ATOM feed

Addison Phillips <>, Chair, Richard Ishida <>, Bert Bos <>, Fuqiao Xue <>, Atsushi Shimono <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 464.html,v 1.1 2023/07/19 12:02:04 carcone Exp $