How to detect if your Browser is WebRTC compliant?
Photo Source: Interactive Powers, Pexels. Creative Commons
WebRTC is currently supported by Mozilla Firefox, Google Chrome and Opera, in both desktop and Android versions. Microsoft Internet Explorer and Edge and Apple Safari still have to add support for WebRTC. Currently, support in these browsers is provided by third-party plug-ins, which are not an ideal solution.
Now, you can see the script to check if your browser is supported by WebRTC. You have to write it in your page HTML. It is a very easy process:
var SUPPORTED_URL = "http://webrtc_supported_site.com"; var UNSUPPORTED_URL = "http://webrtc__not_supported_site.com";
In SUPPORTED_URL, you should write the url to check it.
In UNSUPPORTED_URL, you should write the url of the web page. In case your browser is not supported, the script will redirect it to it.
The rest of the code checks the different browsers and the urls.
Feel free to reach out if you have any questions or comments bellow or just want to show off what kind of cool stuff you’ve built with VideoRTC.js.
Email: email@example.com · Twitter: @ivrpowers · Github: IVRPowers
Interactive Powers - Streamline your business communications