How to use WebRTC + Pubnub Api for a video chat client in a native android application

I am working on a single Android application with p2p video chat functionality, like Skype. while researching on google, i got some libraries but got nothing for native android.

I decided to go with WebRTC using the PubNub api. How can I create my own client for Android video chat using libraries?

I found one code for my own video chat client,

https://github.com/pchab/AndroidRTC

this demo application requires a url with IP: PORT, so I have one confusion as to how the server will be?

Can anybody help me?

+7
android server webrtc pubnub videochat
source share
2 answers

@Alexey Osminin and @Pubnub are right: you need a signal protocol service ( PubNub ), and you need a hosted WebRTC solution for audio / video streams.

Best to start with this amazing blog, BUILD ANDROID WEBRTC VIDEO CHAT APP, Kevin Gleeson , who did this AndroidRTC and WebRTC research for PubNub as an intern.

PubNub and WebRTC

There is a lot of confusion about what PubNub offers in the WebRTC arena, and we have put everything you need to know into a single knowledge base article .

+2
source share

since I understand that you need some kind of signal server that allows you to detect peers, exchange session descriptions to configure media ports; and helps to share everything that is used for the initial handshake. You can find more information here: https://www.webrtc-experiment.com/docs/WebRTC-Signaling-Concepts.html . There are many open source implementations, for example. https://janus.conf.meetecho.com/ .

Hope this helps.

+1
source share

All Articles