Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS11开发新特性之 WebKit 支持 WebRTC 协议 #20

Open
ChenYilong opened this issue Sep 21, 2017 · 0 comments
Open

iOS11开发新特性之 WebKit 支持 WebRTC 协议 #20

ChenYilong opened this issue Sep 21, 2017 · 0 comments
Labels

Comments

@ChenYilong
Copy link
Owner

ChenYilong commented Sep 21, 2017

iOS11开发新特性之 WebKit 支持 WebRTC 协议

iOS 11 的 WebKit 中支持了 WebRTC 相关的接口:

不过 WKWebView 还没有支持 getUserMedia 无法获得 MediaStream ,无法传输音视频流,所以 APP 嵌套的 WebView 还无法使用 WebRTC,必须得用 Safrai APP 才可以。APPLE 回复说是会支持,估计得等几个版本了,可以持续关注后续 WKWebView 更新。

一旦 WKWebView 支持 MediaStream (getUserMedia),之后朋友圈里面的 Web 会有更多可能性,比如直接音视频的合成,还有实时视频通信、WebAR 的东西进行传播。借助小程序的入口,想象空间还是比较多的。

Reference:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant