Kotlin

Connect, Publish and Show Yourself

After permissions are granted:

  1. Build a Session with App ID and session ID.
  2. connect(token).
  3. In onConnected, build a Publisher, attach publisher.view to a container, then session.publish(publisher).

Call session.onResume() / session.onPause() from the hosting Activity or Fragment to match app lifecycle.

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