getUserMedia is not supported in WKWebView

Originator:shazron
Number:rdar://33572340 Date Originated:27-Jul-2017 11:34 AM
Status:Closed Resolved:DUPLICATE OF 33571585
Product:iOS + SDK Product Version:iOS 11 beta 4
Classification:Other Bug Reproducible:Always
 
Summary:
One of the big announcements for the web in iOS 11 is support for getUserMedia in Safari (see https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Safari_11_0/Safari_11_0.html#//apple_ref/doc/uid/TP40014305-CH13-SW8 for announcement).  Sadly, it appears that getUserMedia is not enabled for applications that use a WKWebView.


Steps to Reproduce:
Call `getUserMedia` in a page loaded into a WKWebView

Expected Results:
Access to the microphone and camera

Actual Results:
The API is not available

Version:
iOS 11 beta 4

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!