New issue
Advanced search Search tips

Issue 783220 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 752458
Owner: ----
Closed: Nov 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Compat



Sign in to add a comment

navigator.mediaDevices is null

Reported by kob...@gmail.com, Nov 9 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. use navigator.mediaDevices on iOS 11 with Chrome 62.
2. navigator.mediaDevices is null.
3. Cannot use navigator.mediaDevices.getUserMedia.

What is the expected behavior?
navigator.mediaDevices.getUserMedia should not be null, should get the user's media with the asked constraints.

What went wrong?
Since latest version of Chrome 62, only under iOS 11 devices, when I try using navigator.mediaDevices - it's null. Nothing in the documentation suggests this functionality was removed.

Did this work before? No

Does this work in other browsers? Works in Safari. Does not work in FireFox.

Chrome version: 62  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 27.0 r0
 
Cc: guidou@chromium.org
Owner: pinkerton@chromium.org
Status: Assigned (was: Unconfirmed)
pinkerton@: This seems to be a very iOS-specific issue. Can you help triage?
Labels: -Pri-2 M-62 Pri-1
Cc: eugene...@chromium.org
Components: -Blink>GetUserMedia Mobile>WebView>Glue
Labels: -OS-Windows OS-iOS
Does it work in Firefox or Safari on iOS11? I don't think we're doing anything special here. 
Cc: pinkerton@chromium.org
Owner: ----
Status: Untriaged (was: Assigned)
Unassigning for triage. 

Comment 5 by kob...@gmail.com, Nov 10 2017

yes its working on Safari or Samsung browser.
Does it work in Firefox on iOS? 

Comment 7 by fi...@appear.in, Nov 10 2017

https://jsfiddle.net/nceL7qjo/2/ -- fiddle for checking stuff (or /3/ without 'ugly workarounds'). Note that RTCPeerConnection is defined.

GUM is not defined in Firefox either.
If it doesn't work in Firefox either, it's likely a regression in WKWebView in iOS11 and nothing we control. 

Please file a bug with Apple at https://bugreport.apple.com. 

Comment 9 by fi...@appear.in, Nov 10 2017

likely the same issue as noted here: https://github.com/webrtc/samples/issues/933

Poked folks...
Cc: linds...@chromium.org danyao@chromium.org
Labels: -Type-Bug-Regression Type-Compat
Lindsay, could you please ask QA to investigate if this is a regression. 

Comment 11 by pkl@chromium.org, Nov 13 2017

Labels: -M-62 M-64
Status: Available (was: Untriaged)
eugenebut, danyao: Is there anything we can do?
Labels: Needs-Feedback
Depends if this is WKWebView behavior or a regression in Chrome. According to the bug description this is a regression.

Comment 13 by youe...@gmail.com, Nov 13 2017

I confirm that WKWebView is exposing RTCPeerConnection but not getUserMedia at the moment.

Labels: -Pri-1 Pri-3
Thank you! I guess the only thing we could do here is to file a radar.
Labels: -Needs-Feedback
Description: Show this description
Status: ExternalDependency (was: Available)
We already filed a radar for this: radar/33723040 against iOS 11 beta. Marking this as External Dependency.
Mergedinto: 752458
Status: Duplicate (was: ExternalDependency)

Comment 19 by kob...@gmail.com, Nov 23 2017

Any news about this?

Comment 20 by phistuck@gmail.com, Nov 23 2017

#19 - this is an Apple problem, so no and this issue is a duplicate of issue 752458 (that is marked as ExternalDependency). Star that one for updates (comments are not helpful at this point).

Sign in to add a comment