I did a bit of digging in the WebKit sources last night, and it looks like the WebRTC/MediaCapture stuff is all gated behind a preference that's only accessible via a private API. There was also a commit that mentioned something about apps needing to handle all the setup for A/V permissions.
In any case, the result is that getUserMedia doesn't work in WKWebView, even on iOS11 :( I've filed a radar (rdar://33571214 and http://www.openradar.me/33571214) and encourage everyone else to do the same. On 27 July 2017 at 08:55, Filip Maj <maj....@gmail.com> wrote: > IIRC, it's not uncommon for the webview to lag behind Mobile Safari. > > On Wed, Jul 26, 2017 at 11:47 PM, Toplak Daniel <d.top...@cadenas.de> > wrote: > > He devs, > > > > Does anyone played with WebRTC on iOS? > > > > I get a test running only in Safari with iOS 11 Beta 4, but not in a > cordova app. > > Both WKWebView and UIWebView seems to have no support of WebRTC. > > > > I did not find any official thing from apple, besides what'*s new in > Safari 11: https://developer.apple.com/library/content/releasenotes/ > General/WhatsNewInSafari/Safari_11_0/Safari_11_0.html > > They announce the WebRTC support. > > > > Grüße / Regards > > Daniel Toplak > > Head of Mobile Development > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > >