Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use webrtc or Peer to Peer for video calling IOS and android

I want to create the application with Webrtc which will work on website, mobile ios application and android application.

I had found this link :-http://xsockets.net/api/net-c/custom-webrtc-controller

How do I able to create the webrtc in ios application. Is there any way? Please help me.

like image 299
ios developer Avatar asked Jul 12 '13 09:07

ios developer


People also ask

Can we use WebRTC for mobile app?

Now, WebRTC is supported by almost all browsers such as Microsoft Edge, Google Chrome, Mozilla Firefox, Safari, Opera, BlackBerry, Vivaldi and PC, iOS, and Android.

How does WebRTC work in iOS?

WebRTC (Web Real Time Communications) is a protocol that allows audio and video transmission in realtime. It works with both UDP and TCP and can switch between them. One of the main advantages of this protocol is that it can connect users via a p2p connection, thus it transmits directly while avoiding servers.

How does WebRTC video call work?

WebRTC enables sending voice, video, and any arbitrary data across browsers in real-time in a peer-to-peer fashion. Unlike the usual client-server paradigm, peer-2-peer(P2P) is a technology where two clients can communicate directly with each other.

What are WebRTC calls?

WebRTC stands for Web Real Time Communications . It is a transformative piece of technology that allows real time communications directly through a browser. Without WebRTC, there needs to be an intermediary server between devices in order for them to communicate with each other.


3 Answers

I have been working in this space for the past few months now and webrtc on iOS is not easy. To help this problem I have added a github repo with a working example of and iOS app using webrtc.

https://github.com/gandg/webrtc-ios

The site references the google code site as well, so it should be a helpful starting point.

like image 127
gp-coder Avatar answered Oct 14 '22 00:10

gp-coder


I've spend 2 days to research about WebRTC for mobile. I try to install webRTC for Android (follow webrtc.org) but it's too complicated. I just found 2 awesome project:

For server: https://github.com/pchab/ProjectRTC

For Android Client: https://github.com/pchab/AndroidRTC

Less than 15 minutes to install and it worked well.

About Client iOS, I think you should try gp-coder suggestion, use https://github.com/gandg/webrtc-ios.

like image 29
VAdaihiep Avatar answered Oct 14 '22 01:10

VAdaihiep


OpenTok has a native iOS SDK on WebRTC, which should be a good place for you to look into.

like image 36
Simon Lee Avatar answered Oct 14 '22 01:10

Simon Lee