New issue
Advanced search Search tips

Issue 643164 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Labels missing in MediaDeviceInfo when calling enumerateDevices()

Reported by m...@mobilea.nl, Sep 1 2016

Issue description

Device 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.


 
Components: Blink>GetUserMedia
Labels: Needs-Feedback
[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.
Labels: Type-Bug

Comment 4 by m...@mobilea.nl, 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.
Project Member

Comment 5 by sheriffbot@chromium.org, Sep 28 2016

Labels: -Needs-Feedback Needs-Review
Owner: jansson@chromium.org
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
Status: WontFix (was: Unconfirmed)
I interpret #4 as this is fixed. Correct?

Comment 7 by chuan....@intel.com, 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.
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.

Comment 9 Deleted

I get the label after using the api, thanks

Sign in to add a comment