Cordova Plugin or hybrid app solutions

1,023 views
Skip to first unread message

Theophile Morin

unread,
Jul 9, 2014, 8:49:35 AM7/9/14
to eas...@googlegroups.com
Hello,

I'm currently working on a client-side hybrid app with Sencha Touch and using EasyRTC, and it works well as a "web app" !
I've tried to export this app' on mobile using Cordova. The app works well but of course the "easyRTC part" that uses PeerConnection, DataChannels and MediaStream aren't working. Surely because these 3 APIs are not provided by Cordova (without any plugins)
So here is my question :
Is there any plugins / other solutions to use easyrtc.js in crossplatform mobile hybrid apps ?

Thanks in advance,

Best regards.

Théophile.
Message has been deleted

Steven Ness

unread,
Jul 9, 2014, 11:30:30 AM7/9/14
to eas...@googlegroups.com
Hi Théophile,

There are a few solutions out there on the web that implement a Cordova plugin for WebRTC.  The one that looks the most interesting to me is phonertc: https://github.com/alongubkin/phonertc

Steven Ness
EasyRTC Native / Mobile Lead

Mihail Panayotov

unread,
Jul 10, 2014, 5:37:21 AM7/10/14
to eas...@googlegroups.com
Hi Theophile,
I'm also looking for a WebRTC solution for iOS devices. Android is easy. You could use Crosswalk to embed Chromium webview in the app and thus having full WebRTC support among with other goods on all Android 4.0+ devices. However iOS support is tricky. Seems the only possible solution is PhoneRTC, but haven't tested it yet because I don't have the required OSX machine.

Steven, what are the other solutions out there you mentioned?

Steven Ness

unread,
Jul 10, 2014, 10:45:05 AM7/10/14
to eas...@googlegroups.com
Hi Mihail,

I did some more research, and it looks like all of the other PhoneGap plugins for WebRTC are tied to proprietary signalling servers, so none of them would work with EasyRTC as they are currently implemented.  It would be a cool project to make them use the WebRTC API so they could be used with EasyRTC.

Steven Ness
EasyRTC Native / Mobile Lead Developer

Nicholas Hall

unread,
Jul 10, 2014, 12:03:16 PM7/10/14
to eas...@googlegroups.com
Unfortunately Chrome webviews on Android don't support WebRTC yet.  Looks like support is coming in Android L.

Theophile Morin

unread,
Jul 17, 2014, 7:52:50 AM7/17/14
to eas...@googlegroups.com
Hi Steven, Mihail and Nicholas !

Thank you very much for the answers ! It helped me to understand how does it works a bit better.

Best regards

Theophile Morin

Mihail Panayotov

unread,
Aug 20, 2014, 4:47:27 PM8/20/14
to eas...@googlegroups.com
I can confirm WebRTC works like a charm on Crosswalk compiled apps. Do not rely on embed webviews. It's far from safe.

However iOS solution is still a dream :(

Anton Voltchok

unread,
Feb 26, 2015, 3:55:58 PM2/26/15
to eas...@googlegroups.com
Hi Mihail,

I'm currently trying to do this on android, but even after I compile with Crosswalk it seems it seems like it still doesn't have access to HTML webRTC features, what tools have you used to make yours? I've tried both IntelXDK which compiles crosswalk, and Steroids CLI/Appgyver which also compiles crosswalk, but both aren't working on unfortunately. 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages