- From: jan-ivar via GitHub <sysbot+gh@w3.org>
- Date: Fri, 29 May 2015 00:04:16 +0000
- To: public-media-capture-logs@w3.org
jan-ivar has just created a new issue for
https://github.com/w3c/mediacapture-main:
== Missing serializer in MediaDeviceInfo ==
[MediaDeviceInfo](http://w3c.github.io/mediacapture-main/getusermedia.html#device-info)
could have been a dictionary, but it's not. It's an interface. That's
fine, but it is not an *enumerable* interface which seems ironic for
a dumb information object. E.g. when I do:
navigator.mediaDevices.enumerateDevices().then(all =>
console.log(JSON.stringify(all));
I get:
[{},{}]
rather than:
[{"kind":"audioinput","deviceId":"u2AZF5gn1InjquhwEPO9pplZYwjJ8TAn6C66BAkOxK4=","label":"Built-in
Microphone","groupId":""},
{"kind":"videoinput","deviceId":"h6A9f3jGMQufyezzjm97H7s5RA5ssC1CRBpPkS+hoiQ=","label":"FaceTime
HD Camera (Built-in)","groupId":""}]"
Intentional or document bug?
See https://github.com/w3c/mediacapture-main/issues/178
Received on Friday, 29 May 2015 00:04:18 UTC