Upon reading that headline, you might be asking yourself, “Wait, aren’t there already other Cordova iOS plugins that provide WebRTC functionality?”

The answer is yes, there are; however, most of them (when they work) provide a custom API, tend to mix signaling and media handling, or expect you to use their PaaS/SaaS offering, making them quite difficult to reuse on any existing project.

The eFace2Face plugin is a wrapper around Google’s WebRTC library and simply provides vanilla PeerConnection, getMediaDevices and getUserMedia APIs , without any limitations or artificial constraints.

This means that you can use the very same JavaScript code that you’re already using and create your own iOS hybrid application without having to learn a new API then hacking it to meet your needs.

We are releasing our plugin under MIT license, which allows you to use it free and freely, with no commercial restrictions (although attribution would be nice).

Why are we doing this? Well, simply because we can. The eFace2Face development team has extensive technical knowledge and WebRTC expertise, and we felt that WebRTC was missing a key component that would enable it to function in a hostile environment like iOS.

By extending the usage of WebRTC on iOS devices, we expect that Apple’s support for it will improve – hopefully Apple will even support it natively in the future. With this contribution to the WebRTC community, we hope to strengthen and promote greater use of this groundbreaking technology.

To check out the code, go to cordova-plugin-iosrtc GitHub repo.