Platform Overview

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 16 or higher

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 jCenter.

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

Gradle

allprojects {
    repositories {
        jcenter()
    }
}

// The Video library resides on jcenter
compile 'com.twilio:video-android:1.3.6'

Proguard

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

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

Supported Devices

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

Release Notifications

Watch the video-android project on Bintray to get notified of all future releases.

Preview Releases

The Programmable Video Android SDK is available in two versions. Our 1.x releases are "Generally Available" (GA) and represent stable APIs that are supported with bug fixes. Our 2.0 release is currently in developer preview and adds support for features like:

  • H.264 encoding and decoding.
  • Codec preferences.
  • Bandwidth controls.
  • Subscription focused APIs.
  • Track names, Track level errors.
  • Data Tracks.

Take a look at the Changelog to learn more.

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 browsing the Twilio tag on Stack Overflow.