- 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: http://www.w3.org/TR/html5/embedded-content-0.html#media-elements which doesn't contain lang, but inherits from the HTMLElement, which has one: http://www.w3.org/TR/html5/dom.html#dom-lang with the definition here: http://www.w3.org/TR/html5/dom.html#attr-lang "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]" <http://www.w3.org/TR/html5/references.html#refsBCP47> 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