Labels missing in MediaDeviceInfo when calling enumerateDevices()
Reported by
m...@mobilea.nl,
Sep 1 2016
|
|||||
Issue descriptionDevice name: Nexus 9 From "Settings > About Chrome" Application version: 52.0.2743.98 OS: Android 6.0.1 URLs (if applicable): https://apprtc.appspot.com Behavior in Android Browser (if applicable): Labels are missing when calling enumerateDevices() on Android. Steps to reproduce: (1) On a dekstop/laptop goto https://apprtc.appspot.com and create a room (2) On Anroid devices open up same room (3) In the javascript console you can execute `navigator.mediaDevices.enumerateDevices().then(function(sources) {console.log(sources);});` Expected result: I would expect the same result as I get from the same version of Chrome on a desktop/laptop where the label is filled. Actual result: On Android the labels are missing.
,
Sep 20 2016
[triage] have you approved the getUserMedia request (required to get labels)? FYI https://webrtc.github.io/samples/src/content/devices/input-output/ is a better test page.
,
Sep 20 2016
,
Sep 20 2016
I did approve the getUserMedia request when using AppRTC. But when I now test it using a Nexus 5X (Android: 7.0 and Chrome: 52.0.2743.98) on the site provided by you https://webrtc.github.io/samples/src/content/devices/input-output/. I do get labels. It also seems to work with the same Nexus 5X on apprtc.appsport.com. Also tested it now back again on the Nexus 9. Today this has Android version 6.0.1 and Chrome version 53.0.2785.124. On your provided URL I now have labels in the MediaDeviceInfo. So I tested it again on apprtc.appspot.com and now this works also.
,
Sep 28 2016
Thank you for providing more feedback. Adding requester "jansson@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 30 2016
I interpret #4 as this is fixed. Correct?
,
Oct 24 2016
hi, I've tried enumerateDevices() using xiaomi note on Android 6.0, you can refer to https://chuan9.github.io/. there has no labels for all MediaDeviceInfo.
,
Oct 24 2016
You have not made a getUserMedia request (it's commented out in https://chuan9.github.io/) and approved it. You have to approve getUserMedia before getting access to the labels.
,
Oct 25 2016
I get the label after using the api, thanks |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, Sep 15 2016