Video Calling API for Android Kotlin with Video SDK
Easily build beautiful video conferencing into your Android Kotlin app.
Fully Customizable UI
Native Mobile SDK’s
5000 Participant Support
RTMP Live Stream
Cloud Recording
HD Screen Sharing
Breakout Rooms
Real-time Messaging
Installation
1. Install the package via jitpack
1
2dependencies {
3 implementation 'live.videosdk:android-sdk:0.1.14'
4}
2. Initialize Video SDK factory
1import live.videosdk.rtc.android.VideoSDK;
2import live.videosdk.rtc.android.Meeting;
3
4public class MainActivity extends AppCompatActivity {
5 private Meeting meeting;
6
7 @Override
8 protected void onCreate(Bundle savedInstanceState) {
9
10 // Configure parameters
11 final String token = getIntent().getStringExtra("token");
12 final String meetingId = getIntent().getStringExtra("meetingId");
13 final String participantName = "John Doe";
14 final boolean micEnabled = true;
15 final boolean webcamEnabled = true;
16
17 // Configure authentication token
18 VideoSDK.config(token);
19
20 // create a new meeting instance
21 meeting = VideoSDK.initMeeting(
22 MainActivity.this,
23 meetingId,
24 participantName,
25 micEnabled,
26 webcamEnabled
27 );
28 }
29}
3. Join the meeting
1meeting?.join();