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

Re: Language labels

From: Harald Alvestrand <harald@alvestrand.no>
Date: Mon, 14 Sep 2015 15:30:45 -0700
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <55F74A95.6040601@alvestrand.no>
On 09/14/2015 02:15 PM, Martin Thomson wrote:
> On 14 September 2015 at 14:06, Harald Alvestrand <harald@alvestrand.no> wrote:
>>> I realize that we also don't have a way to correlate a captured audio
>>> track with its source track, which might offer an application the
>>> ability to fill in this sort of information for itself.
>> Can you quote chapter and verse on that? I'm easily confused....
> At the moment, I think that this is it:
> http://w3c.github.io/mediacapture-fromelement/#widl-HTMLMediaElement-captureStream-MediaStream
> ...the other is my inability to find a language attribute here:
> https://w3c.github.io/mediacapture-main/#media-stream-track-interface-definition

Ah - I was thinking of the language definition. Seems to be here:


which doesn't contain lang, but inherits from the HTMLElement, which has


with the definition here:


"The |lang| attribute (in no namespace) specifies the primary language
for the element's contents and for any of the element's attributes that
contain text. Its value must be a valid BCP 47 language tag, or the
empty string. Setting the attribute to the empty string indicates that
the primary language is unknown. [BCP47]"

Is there a definition somewhere that says that "lang" is well-defined
for audio tracks?
(note - I've seen it argued that some langauge tags, such as sgn-US,
actually make sense for video tracks too - sign language.... but it
doesn't seem quite like it's been mandated here....)

>> I'm sure the internationalization folks wouldn't mind if we added
>> language as an optional attribute to MediaStreamTracks, but I'd like to
>> stop adding functionality to getusermedia ASAP....
> Likewise.  I'm thinking that this is ultimately something that we
> need/want to address with extensions in other documents (fromelement
> in this case).

Surveillance is pervasive. Go Dark.
Received on Monday, 14 September 2015 22:31:21 UTC

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