An android application which uses WebRTC and Firebase to support real time media communication. You can start one-one call between users for now.
✔️ Android studio installed in your system.
✔️ Android Device or Emulator to run your app.
✔️ Setup Account on Firebase and integrate app with your Firebase Project.
- You can clone the project from the WebRTC Sample repository.
git clone https://github.com/dwarshb/WebRTC-Sample.git
- Please make sure to create a Firebase Project and set-up with this app. You need to add
google-service.json
file of your Firebase project in yourapp
folder.
For more details please check the below link.
https://firebase.google.com/docs/android/setup
Once the setup is done you can run the project in Android Studio.
A platform which supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice- and video-communication solutions. I have used native WebRTC library for WebRTC Support. Please check below link for reference. https://webrtc.github.io/webrtc-org/native-code/android/
I have used Firestore to store the information for createOffer()
, createAnswer()
and IceCandidates. This information is used to maintain one-one call connection.
Please check below link for Firestore Reference.
https://firebase.google.com/docs/firestore/manage-data/add-data