How to Integrate video call using ZEGOCall SDK

Shivam Thaker
2 min readMay 25, 2022

Step 1. Create a ZEGO CLOUD account

Step 2. Create a new project

Step 3. Create a Firebase project

Create a Firebase project in the Firebase console. For more details, see Firebase Documentation.

Step 4. Deploy the Firebase Cloud Functions

ZEGO Call uses the Firebase Cloud Functions as the business server by default, we recommend you activate and deploy it before integrating the ZEGOCall SDK.

Edit the rules of the Realtime Database by adding the following:

{
"rules": {
".read": "auth.uid != null",
".write": "auth.uid != null",
}
}

Install the CLI via npm.

npm install -g firebase-tools

Run the firebase login to log in via the browser and authenticate the firebase tool.

Run firebase init functions. The tool gives you an option to install dependencies with npm. It is safe to decline if you want to manage dependencies in another way, though if you do decline you’ll need to run npm install before emulating or deploying your functions.

Download the Cloud function sample code.

Copy the firebase.json, functions\index.js files and functions\token04 folder in the sample code to your cloud function project, overwrite files with the same name.

Modify the index.js file, fill in the AppID and ServerSecret you get from ZEGOCLOUD Admin Console correctly.

If you have any problem or confusion you can contact here. His team is also very supportive. At the time of my connection, I have received 24 x 7 assistance. So what are you waiting for Kenny. You can also get help from here.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Shivam Thaker
Shivam Thaker

Written by Shivam Thaker

mobitech Enthusiast, who loves to write anything around mobile application Development. You can follow me here: www.linkedin.com/in/shivam-thakar-546144238

No responses yet

Write a response