WebRTC shim for browsers that don't support We

2019-06-25 08:52发布

问题:

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

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?

回答1:

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.



回答2:

For Internet Explorer, Microsoft started defining the CU-RTC-Web that will allow basically the same as the current Google specification for WebRTC, but with a different API. (But they do have to be against all standards, so...)

Also for IE, currently you have Google Frame plugin that can be installed to provide the same API's that are available on Google Chrome.

For browsers besides Firefox, Chrome and IE, I don't think there is a current shim other than Flash based applications.



回答3:

Not sure if it does what you want, but Doubango Telecom maintain webrtc4all, which is an extension that aims to provide WebRTC support on browsers that don't yet implement the APIs.

WebRTC works very nicely with Chrome Frame, but that's due to be retired in January 2014.



标签: webrtc