Native Real Time Communication alternatives to WebRTC

11.9k views Asked by At

I would like to develop a Real Time Communication (with video and audio) application natively for android and iOS. Ideally it would also be able to connect to a browser however mobile platforms are the most important for this case.

I have been looking into WebRTC, however, as it is a (relatively) new protocol, it seems to not be the best implementation method. It also seems very complicated/frustrating to implement on iOS.

I'm just wondering if anyone else knows of a better alternative to WebRTC that is free and easy to implement natively on iOS and android?

Edit: I have webRTC currently working natively for android however I am still having trouble with native webRTC for iOS. Does anyone have any up-to-date information/tutorials that can help get me started?

2

There are 2 answers

1
busradeniz On BEST ANSWER

I think, webRTC is the simplest way in order to develop RTC application on mobile and web. As a mobile developer which has no ideo about webrtc, real time communication and voip, you can develop your application without VoIP complexity by using webrtc.

For browser side, webrtc is embedded in Chrome,Firefox and Opera so you should use it directly. Support for IE and Safari can be added via a plugin. For mobile side, you need to compile webrtc source for iOS and android platforms and then adding webrtc library to your project,you can use it as in browsers. And also webRTC has a simple API, lots of sample and well documentation for iOS and Android. These are very explanatory and helpful tutorials for webRTC on Android in order to understand webrtc flow.

https://tech.appear.in/2015/05/25/Introduction-to-WebRTC-on-Android/ http://www.html5rocks.com/en/tutorials/webrtc/basics/

0
vrbsm On

One option is to use the crosswalk, you can create a native app using the crosswalk as a webview in your project.

It also works on iOS that is the case

In my case the Web-RTC worked without any problems in the android, but I not tested it in IOS

Here are some tutorials on how to add the crosswalk on your project.

https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/

https://crosswalk-project.org/documentation/embedding_crosswalk.html

I hope this helps.