Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Video Android Platform Overview


(warning)

Warning

This page is for reference only. We are no longer onboarding new customers to Programmable Video. Existing customers can continue to use the product until December 5, 2024(link takes you to an external page).
We recommend migrating your application to the API provided by our preferred video partner, Zoom. We've prepared this migration guide(link takes you to an external page) to assist you in minimizing any service disruption.

To make sure your app is ready for Android 11 please visit this page(link takes you to an external page).

Twilio's Programmable Video Android SDK lets you add real time voice and video to your native Android applications.


Prerequisites

prerequisites page anchor
  • Android Studio 2.0 or higher
  • Support for Android API level 21 or higher
  • Support for Java 8

Programmable Video Live Demo

programmable-video-live-demo page anchor

Launch our Twilio Programmable Video live demo(link takes you to an external page) in less than 5 minutes. A high-quality, full-featured and open-source video collaboration application.


To get started with Twilio Video, you should download and run the QuickStart application(link takes you to an external page).

The QuickStart repository contains additional examples. These examples demonstrate the usage of new features and also help you build more complex applications.

To add Video to your app, follow the Getting Started Guide


The Android Video SDK is distributed through Maven Central.

To install the Android Video SDK, ensure the following configuration is in your build.gradle file:

Maven Central.

Gradle

gradle page anchor

_15
allprojects {
_15
repositories {
_15
mavenCentral()
_15
}
_15
}
_15
_15
// The Video library resides on Maven Central
_15
implementation 'com.twilio:video-android:$version'
_15
_15
android {
_15
compileOptions {
_15
sourceCompatibility 1.8
_15
targetCompatibility 1.8
_15
}
_15
}

Add the following lines to your proguard-project.txt file.


_10
-keep class tvi.webrtc.** { *; }
_10
-keep class com.twilio.video.** { *; }
_10
-keepattributes InnerClasses

The Android SDK supports Android API level 21 and higher. It is built for armeabi-v7a, arm64-v8a, x86, and x86_64 architectures.


Rate this page: