getUserMedia not supported in WKWebView

Originator:darryl
Number:rdar://33571214 Date Originated:27-Jul-2017 10:56
Status:Duplicate/29281220 Resolved:
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!