I m new to here so maybe my question is also looks silly.
If so, please teach me then I will very appreciate for it.
question:
I m going to build webrtc android client for my kamilio/freeswitch.
So I've built webrtc for android and tested AppRTC demo and made video call.
What I want to know is can I integrate this demo with my own kamilio/freeswitch?
Hope to hearing from you soon.
Regards
Yes, of course. From the server point of view, WebRTC is WebRTC regardless if you are running it from app or from browser. Just make that your client is using SIP (clear SIP or SIP over websocket as described in RFC 7118 since this is the most popular signaling protocol supported also by Kamailio/FreeSWITCH.
Definitely yes. Take a look at FreeSWITCH VerTo protocol which is specifically designed for WebRTC : https://freeswitch.org/confluence/display/FREESWITCH/mod_verto.
Also you can check out this demo on google play, where this protocol implemented with native Android WebRTC SDK:
https://play.google.com/store/apps/details?id=xyz.vertoandroid.vertoandroidlibdemo. (ahem, shameless plug, sorry).
Related
I am really new to WebRTC. What i need is to implement app to app voice calling (not video calling) feature in my android app. I want to call randomly among my app users by webRTC on android. I implemented appRTC sdk in android studio and made an app. By this app i can create or join in a room. And then i can create peer to peer connection (voice call). Its 1 to 1 calling in same room. But how to implement random calling. I just want to know the way i can achieve it. Thank you
I've been playing with webRTC quite a lot recently and created videochat-roullete as a sample for our webRTC wrapper, you might want to take a look into it : https://github.com/netguru/videochatguru-android
WebRTC can be problematic in many cases as it lacks of good documentation, hope it helps.
Use easyRTC which is built on webRTC. I have personally applied it in one of our project for audio /video and chat communication. Use this link https://demo.easyrtc.com/demos/index.html
There is only one challenge I am facing right now, how to make it work on iOS
I am looking for a way to use SIP as signalling protocol for Webrtc in Android. I saw the RestComm open source code and I think it fits my needs. But I already have the infrastructure setup for TURN and SIP server. We use FreeSwitch for that purpose. My Question is, is it possible to use the restcomm android sdk with a infrastructure that is not from restcomm platform? Will it work?
Is there any other library or way that could be used for the purpose? Infrastructure is fixed and couldn't be changed. I need webrtc with SIP or SIP over websocket as the signalling method.
Restcomm Android SDK essentially offers VoIP functionality using SIP for signaling and WebRTC for media, so you shouldn't have any issues integrating with different server components.
Notice though that so far it's tested with Restcomm platform for the most part.
For more information on how to do that you can check Quickstart Guide and also refer to the code for Hello World and Olympus Apps
I see a lot of tutorials in the Internet teaching about android to browser or browser to browser webrtc application. Is it possible to build a native android-to-android video chat app using webrtc?
Well, for establishing a connection between the devices before the call via peer-to-peer WebRTC solution you need STUN/TURN/ICE servers.
They establish the route for communication between the devices.
Once the route is established the devices communicate directly without participation of a server for passing the media streams.
To make it easier for you, you can look at or try some existing solutions, like ConnectyCube.
They have peer-to-peer WebRTC solution for Android already implemented.
So, maybe there is not need to reinvent the wheel.
There is an official Android sample project AppRTCMobile provided here - https://webrtc.org/native-code/android/. However, the build process is tedious and the total download size exceeds 20 GB. The recommended way is to use the following dependency in your project.
implementation 'org.webrtc:google-webrtc:1.0.+'
However, for video chat functionality you will need to refer AppRTCMobile source code. There is a clone of this project on GitHub updated for Oreo and ready to import in Android Studio. Check out this link.
WebRTC uses ICE protocol for creating connection between two peers. It uses DTLS-SRTP for creating secure data exchange between peers.
Now both ICE protocol and DTLS-SRTP are protocols that can be implemented on any devices no matter what platform. You implement or use existing implementation of
ICE and DTLS-SRTP protocol on your android apps and communicate with each other.
When you read tutorials about implementation of WebRTC for communication between android app and browser, there the android app has the implementation of both ICE and DTLS-SRTP. So this android app can communicate with other android app having similar implementation.
in addition to #tahlil great answer, you can also use a number of open source SDKs out there that already took the burden on bundling the WebRTC libraries and offering simple APIs for you to integrate Real Time Communications in your native app. One example of such SDK is the RestComm Android SDK
See https://github.com/Mobicents/restcomm-android-sdk and http://www.telestax.com/restcomm-client-android-sdk-beta-2-is-out/
i am working on one android application with the functionality of p2p video chat just like Skype. while researching on google, i got some libraries but not getting anything for android native.
i decided to go with WebRTC with the use of PubNub api. how can i create a video chat native android client with the use of there libraries?
i found one code for native video chat client,
https://github.com/pchab/AndroidRTC
this demo application require url with IP:PORT so i have one confusion about that how the server will be?
can anyone help me?
as I understand you need some signaling server which allows to detect peers, exchange session descriptions to setup media ports; and helps share everything used for initial handshake. You can find more information here: https://www.webrtc-experiment.com/docs/WebRTC-Signaling-Concepts.html. There a lot of open source implementations e.g. https://janus.conf.meetecho.com/.
Hope this helps.
#Alexey Osminin and #Pubnub are right: you need a signal protocol service (PubNub) and you need a hosted WebRTC solution for the audio/video streams.
Your best bet is to start with this awesome blog, BUILDING AN ANDROID WEBRTC VIDEO CHAT APP, by Kevin Gleason who is the one that did the AndroidRTC and WebRTC research for PubNub as an intern.
PubNub & WebRTC
There is a lot of confusion around what PubNub offers in the WebRTC arena and we have compiled everything you need to know into a single knowledge base article.
I'm just learingn mobile web development and thinking about task:
Is there a way to make a videostream betwen iOS, Android and Browser. What architecture and technology it should use. I already read this quetion on SO Peer-to-Peer video from iOS to Android? but there is nothing about browsers.
If it can't be p2p and crossplatfom at the same time. I thought i shoud use Red5 server or etc. or Xmpp
So I'm asking your advice and opinion here. Any information would be valuable
Yes, You can !!!
There is new technology enforced by google is WEBRTC
It is stands for "web real time communication" and is an opensource project funded by google.
It is also support Android/iPhone native application.
I am working on it and got success say 60%.
Video clarity is good but audio is choppy.
You can find source code from Here
Discussion with community Here
You can see live demo Here
NOTE:
It is ongoing project and has not been stable yet. Google team is working on.Currently it is working on latest Chrome,FF and opera. IE has not given support yet.
Yes,the open source solution should be WEBRTC technology,please check it on official website: webrtc.org