WebRTC and Microsoft Edge
An item of interest to our WebRTC Solutions Community members that is worth a look is a recent posting from some of the most experienced WebRTC folks around at &yet. Their most recent contribution to the cause comes in the form of some advice regarding the new Microsoft Edge browser which is replacing Internet Explorer and its support of WebRTC.
Philip “Fippo” Hanke, software development engineer at &yet, in his posting provides a nice explanation for WebRTC developers on how Edge supports WebRTC, which means you can get an edge on getting to market quickly with your apps.
As Hanke explains, it all starts by downloading Windows 10 preview and testing the WebRTC getUserMedia samples in the Microsoft Edge browser. He notes that: “The WebRTC samples that are made available by Google’s WebRTC team on GitHub are a tremendously useful resource for starting with WebRTC.”
He goes on to explain the groups of samples which are names to become familiar with and to use. They include:
- getUserMedia samples which show how to use the getUserMedia API to access the microphone and camera,
- RTCPeerConnection samples which demonstrate the use of the RTCPeerConnection API to establish a peer-to-peer connection (usually within a single page), and
- RTCDataChannel samples which demonstrate the higher-level data channel API to send and receive data and files.
Without going through all of the technical details, Hanke posed a nice rhetorical question, “Wouldn’t it be awesome if the getUserMedia demos would work in Edge, too?” I won’t spoil the fun of finding out how &yet came up with a positive answer to this question. What you need to know is good news. The answer is that awesomeness is achievable and the explanation is straight forward.
As Hanke concludes, “Using adapter.js instead of trying to shim just the required bits in each demo made more sense. This did not take long actually and there were just a few lines of code that needed to be changed. As a result, all getUserMedia demos work in Edge now as well. And Firefox. And Chrome. Without changes. That’s pretty significant.” In three words, given all of the waiting as to the promised support of WebRTC by Microsoft, the response to the observation that this is pretty significant is “yes it is!”
Now if Apple would only join the WebRTC bandwagon.
Edited by Dominick Sorrentino