DEV Community

ZEGOCLOUD Dev
ZEGOCLOUD Dev

Posted on

How To Do A Video Call

Image description

More and more apps can provide video call functions, such as FaceTime, WhatsApp, Duo, Messenger, Zoom, etc. With these applications, How to do video call is getting easier.

Video calling brings you face-to-face with your family and friends, whether you’re in the same city or thousands of miles away. We want to make it even easier to start a video call from your Android device, so we’re making video calling an integrated part of your phone. You can now start a video call directly from where you call or text message your friends, through your Phone, Contacts, and Android Messages apps.

Difference between video calling and video conference
Video calling and video conferencing are two terms that are often used interchangeably. Sure, they’re similar. But there are slight distinctions between them in terms of usage and origin:

Video calling is a more casual call that can be initiated anytime, anywhere, usually a 1v1 call, for the purpose of direct communication between two people.
Video conference is a formal occasion that needs to be booked in advance. It is usually a multi-person call. The purpose is to discuss things. Therefore, functions such as screen sharing and file sharing are needed to assist the conference.
There are many video calling and video conference applications on the market.

If we want to integrate the video calling function in our application, We should How To Do Video Calls?

How to implement a video call
The video calling industry chain is becoming more and more perfect now, and it is more and more convenient to implement the Video calling function.

With the help of a third-party SDK, we can implement the video calling function within 30 minutes.

To implement video calling, we need to implement several basic functions:

Call notification
Call state management
Audio and video communication
The video calling SDK will help us implement these basic functions. We only need to define and call the corresponding API according to the requirements.

Let’s take ZEGOCLOUD CallKit as an example.
**
1)Integrate the SDK**
Add the jitpack configuration.
If your gradle version is later than 6.8, modify your settings.gradle file like this:

Image description

Modify your app-level build.gradle file:

Image description

2)Show the ZegoUIKitPrebuiltCallFragment in your project
Go to ZEGOCLOUD Admin Console, get the appID and appSign of your project.
Specify the userID and userName for connecting the Call Kit service.
Create a callID that represents the call you want to make.

Image description

3)Modify the auto-created activity_call.xml file:

Image description
**

Run the Demo**

Through the above three steps, the SDK integration can be completed and the Video Calling function can be realized.

If you want to realize a more personalized UI interface, ZEGOCLOUD Call Kit provides a rich UI custom interface and supports user configuration, for specific usage, please refer to Call Kit Custom prebuilt UI Documentation.

Top comments (0)