Kotlin
Creating a new project
- Open
Android Studioand select New Project from the File menu. - Set the
Minimum SDKfor the app to be API 24 (Android 7.0, Nougat). - Proceed through the project setup wizard:
- Choose Empty Activity as the template.
- Make sure the Language is set to Kotlin.
- Leave the Activity Name as
MainActivity.
Basic video rendering
Learn how to use a custom video renderer in Kotlin to display a black-and-white version of a video stream using the Vonage Video Android SDK.
手順
1
Introduction2
Getting Started3
Creating a new project4
Adding the Android SDK5
Setting up authentication6
Requesting permissions7
Creating the Inverted Video Renderer8
Creating a custom Renderer (MyRenderer)9
Publishing a stream to the session10
Connecting Custom Renderer to Publisher/Subscriber11
Running the app12
Conclusion