Java

Overview

The Android SDK lets you set up a custom audio driver for publishers and subscribers. You can use a custom audio driver to customize the audio sent to a publisher's stream. You can also customize the playback of subscribed streams' audio.

Setting Up Your Project

The code for this section is available in the Basic-Audio-Driver-Java project of the opentok-android-sdk-samples repo. If you haven't already, you'll need to clone the repo into a local directory. On the command line, run:

git clone git@github.com:opentok/opentok-android-sdk-samples.git

Open the Basic-Audio-Java project in Android Studio to follow along.

Note: This tutorial discusses the Java version of the Android sample app. For a Kotlin version with documentation, see the Android sample app repo.

Important: Please note that your App ID is your API key.

Custom Audio Driver

Add a custom audio driver to your application using the Vonage Video API.

Available on:
Java Objective-C
Steps
1
Introduction
2
Getting Started
3
Adding a Custom Audio Driver
4
Adding a Custom Audio Renderer
5
Conclusion