Microsoft in an official blog post revealed that Universal Windows Platform apps can now take advantage of WebRTCÂ and ORTC APIs.
In case you are not familiar with WebRTC, it is a free and open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs.
Google has already been ahead in this field and natively supported platforms for WebRTC include iOS, Android and traditional Win32 desktop apps. If you are building a WebRTC app in HTML/JS, that could only target the desktop browsers or the desktop web apps, and Microsoft Edge already supports ORTC APIs and now supports WebRTC 1.0 APIs in Insider Preview builds on Desktop devices.
But what if you want to write in C# or C++ and run WebRTC on Xbox, HoloLens, Surface Hub or Windows Phone, or write in HTML/JS and run on Raspberry Pi? What if you are using Google’s iOS and Android libraries and need bit-for-bit compatibility for your UWP application? What if you modify WebRTC source in your application and need to use those modifications in your Universal Windows Platform (UWP) application?
To realize the above scenarios, Microsoft has ported and optimized WebRTC 1.0 for UWP. This is now available as an Open Source project on GitHub as well you get it as a NuGet package.
The project is 100 percent compatible with Google’s source, enabling scenarios such as a WebRTC video call from Xbox running UWP to a Chrome browser on the Desktop.
To learn more about the implementation, head over to this page on GitHub