In this guide, we’ll walk you through setting up and running a native Android video calling app. Follow these steps to get the project up and running smoothly.
Clone the repository to your local environment.
https://github.com/videosdk-live/videosdk-rtc-android-java-call-trigger-example.git
- Add your VideoSDK authentication token to your MainApplication class. You can obtain your token from the VideoSDK dashboard
- Replace your firebase app
google-services.json
file in the app folder.
You need to grant call account permissions to enable VideoSDK to make and receive calls.
Click on All calling accounts
and allow the app to receive call.
NOTE : It is necesary to setup local server before run the project.
Download private Key from firebase and add the .json
file in the server folder.
// Path to your service account key file for Firebase Admin SDK
var serviceAccount = require("add_path_here");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "database_url" // Replace with your database URL
});
npm install
npm run start
Add Local server ip address in Network/ApiClient.java
file, eg. "http://192.168.1.10:9000".
const FCM_SERVER_URL = "BASE_URL";
You can generate the issue on Github or ping us on Discord
- Nothing device