Skip to contentSkip to navigationSkip to topbar
On this page

Video Android Platform Overview


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
1
allprojects {
2
repositories {
3
mavenCentral()
4
}
5
}
6
7
// The Video library resides on Maven Central
8
implementation 'com.twilio:video-android:$version'
9
10
android {
11
compileOptions {
12
sourceCompatibility 1.8
13
targetCompatibility 1.8
14
}
15
}

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

1
-keep class tvi.webrtc.** { *; }
2
-keep class com.twilio.video.** { *; }
3
-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.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.