Does webKit in iOS 11 (Beta) support WebRTC?

前端 未结 3 1752
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 07:32

I have a URL that is working fine with Safari on iOS11 (Beta) Audio/Video is working fine. But when I load this URL with WKWebView it gives me an error \"Incompatible Brow

3条回答
  •  鱼传尺愫
    2020-12-05 08:30

    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 (beta 4, at least) :(

    I've filed a radar (rdar://33571214 and http://www.openradar.me/33571214) and encourage everyone else to do the same.

提交回复
热议问题