Kotlin
In this sample, the app uses a custom video capturer to mirror the local video image before it is sent to the Vonage publisher. The goal is to show you the basics of integrating a custom capturer; mirroring is just a simple, visual effect to make the behavior obvious.
Estimated completion time: 25 mins
Want to skip this tutorial? You can jump straight to the completed Kotlin client code in the BasicVideoCapturer 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.
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
Basic video capture
Learn how set up a basic video capturer using the Vonage Video SDK.
Steps
1
Introduction2
Getting Started3
Creating a new project4
Adding the Android SDK5
Setting up authentication6
Requesting permissions7
Creating the Mirror Video Capturer8
Starting capture wiring into the Publisher lifecycle9
How mirroring actually works10
Running the app11
Conclusion