Kotlin
Overview
Add the Vonage Video Android SDK to your app so you can create Session, Publisher, and Subscriber objects and register observability listeners in later steps.
Adding the Android SDK (Kotlin DSL)
The app uses Maven to load the Android SDK:
- Update your
settings.gradlefile includingmavenCentral()repository if it doesn't exists 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:
- Modify your module-level
build.gradle.kts(typicallyapp/build.gradle.kts)
Add the SDK dependency:
- 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.
Client Observability
Learn how to use client observability to monitor real-time quality metrics for a video call with Vonage Video SDK.
Steps
1
Introduction2
Getting Started3
Creating a New Project4
Adding the Android SDK5
Setting Up Authentication6
Requesting Permissions7
Enable Sender Stats on the Publisher8
Subscribe and Register Observability Listeners9
Handle Video Stats10
Display Stats in the UI11
Running the App12
Conclusion