不支持 WebRTC 的浏览器的 WebRTC 垫片 [英] WebRTC shim for browsers that don't support WebRTC

查看:56
本文介绍了不支持 WebRTC 的浏览器的 WebRTC 垫片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前支持 WebRTC 的浏览器并不多,但是有很多很酷的 WebRTC 东西可以玩——PeerDB 等.

Not a lot of browsers support WebRTC yet, but there's a lot of cool WebRTC stuff to play with -- PeerDB, etc.

是否有任何类型的 shim 用于在浏览器中欺骗 WebRTC API(这样 PeerDB 之类的东西就可以正常工作),但实际上使用 WebRTC 以外的东西在浏览器外进行通信?

Is there any sort of shim for spoofing a WebRTC API in the browser (so that things like PeerDB will just work), but which actually communicates outside the browser using something other than WebRTC?

这在技术上可行吗?为什么或为什么不?

Is that even technically feasible? Why or why not?

推荐答案

这绝对可行 - 我们正在 IceLink.它在可用时使用本机支持,如果本机支持不可用,则回退到 Java 小程序.

It's absolutely doable - we're doing it in IceLink. It uses native support when available, and falls back to a Java applet if native support is unavailable.

这篇关于不支持 WebRTC 的浏览器的 WebRTC 垫片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆