This app shows how to use the audio driver for publisher and subscriber audio. This guide demonstrates how to create a custom audio driver (NoiseAudioDevice) that:
- Publishes white noise (random audio signal) to the stream.
- Captures audio from subscribed streams and saves it to a local file.
Publishes white noise (random audio signal) to the stream. Estimated completion time: 25 mins
Want to skip this tutorial? You can jump straight to the completed Kotlin client code in the CustomAudioDriver folder of our Android sample app repo on GitHub. The repo includes a README with full documentation on how to run and explore the project. This tutorial focuses on the Kotlin version of the Android sample app. For the Java version, check the Previous sample app repo.
Requirements
To complete this tutorial, you’ll need:
- A valid Vonage Video API account — if you don’t have one, you can sign up for a free trial
- Android Studio
Custom audio driver
Learn how to use a custom audio driver to customize publisher and subscriber stream audio. You will use the custom audio driver when you want to start and stop the audio play your own audio file, and do anything outside the default behavior of live video chat provided by the SDK.