Kotlin

Adding the Android SDK (Kotlin DSL)

The app uses Maven to load the Android SDK:

  1. Update your settings.gradle file to include mavenCentral() repository if it doesn't exist already:

or if you are using an older project setup, update your build.gradle file from your project root. Add mavenCentral() inside the repositories block like this:

  1. Modify your module-level build.gradle.kts (typically app/build.gradle.kts)

Add the SDK dependency:

  1. Sync your project.

After updating your build.gradle.kts files, sync your project in Android Studio to download the Vonage SDK and apply the configuration.

Simple Multiparty

Learn how to use the Vonage Android SDK for a multi-party call. The application publishes audio/video from a device and can connect to multiple subscribers.

Available on:
Kotlin
Steps
1
Introduction
2
Getting Started
3
Creating a new project
4
Adding the Android SDK
5
Setting up authentication
6
Requesting permissions
7
Connect publish and show yourself
8
Multiparty subscribe to every remote stream
9
Host SDK views in AndroidView
10
Running the app
11
Conclusion