Skip to main content

To initialize audio and video calls, import the ZEGOCLOUD libraries. Open settings.gradle in the project root (Project view).

  dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://storage.zego.im/maven' }
}
}

Add the following dependencies to the application's build.gradle.

api 'com.juggle.im:juggle:1.8.13.2'
api 'com.juggle.call.zego:juggle:1.8.13.2'
api 'im.zego:express-video:3.17.3'

Initialize the audio/video engine with the ZEGOCLOUD appId.

JIM.getInstance().getCallManager().initZegoEngine(appId, context);