Menu

Expand
Rate this page:

Video Android Platform Overview

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.

We recommend migrating your application to the API provided by our preferred video partner, Zoom. We've prepared this migration guide to assist you in minimizing any service disruption.

To make sure your app is ready for Android 11 please visit this page.

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

Prerequisites

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

Programmable Video Live Demo

Launch our Twilio Programmable Video live demo in less than 5 minutes. A high-quality, full-featured and open-source video collaboration application.

Run the QuickStart app

To get started with Twilio Video, you should download and run the QuickStart application.

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

Add the SDK

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

allprojects {
    repositories {
        mavenCentral()
    }
}

// The Video library resides on Maven Central
implementation 'com.twilio:video-android:$version'

android {
    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
}

Proguard

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

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

Supported Devices

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:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif