W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2016

RE: "depth" kind and MediaStreamTrack.kind

From: Bernard Aboba <Bernard.Aboba@microsoft.com>
Date: Mon, 6 Jun 2016 16:03:39 +0000
To: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
CC: Iñaki Baz Castillo <ibc@aliax.net>
Message-ID: <DM2PR21MB0075F4F9517243690AB86154EC5C0@DM2PR21MB0075.namprd21.prod.outlook.com>
Den 05. juni 2016 13:39, skrev Iñaki Baz Castillo:
> Hi,
> If getCapabilities(kind) will allow passing "depth" as kind, does it 
> mean that MediaStreamTrack.kind may also be "depth"?

Harald said: 

"Last time I looked, getCapabilities() was a method on MediaStreamTrack objects, and did not have an argument. "Kind" is a property of a MediaStreamTrack.

Were you thinking of something else?"

[BA] I believe that Iñaki is referring to the getCapabilities methods defined for RtpSender in Section 5.2 and RtpReceiver in Section 5.3: 

partial interface RTCRtpSender {
    static RTCRtpCapabilities getCapabilities(DOMString kind);

partial interface RTCRtpReceiver {
    static RTCRtpCapabilities          getCapabilities(DOMString kind);

As to whether MediaStreamTrack.kind may have a value of "depth", I believe the answer is yes. 

See the Media Capture Depth Stream Extensions specification:  

Received on Monday, 6 June 2016 16:04:11 UTC

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