Download Video SDKs

Twilio's Programmable Video SDKs make it easy to add real-time voice and video to your web and mobile applications. If you want to embed high-quality VoIP experiences into your app, you've come to the right place.

Android

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.0.0-beta6'

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.

iOS

The iOS Video framework can be installed using Cocoapods or manually, as you prefer.

Cocoapods

source 'https://github.com/CocoaPods/Specs'
source 'https://github.com/twilio/cocoapod-specs'

target 'TARGET_NAME' do
    pod 'TwilioVideo', '1.0.0-beta5'
end

Then run pod install to install the dependencies to your project.

Note: If you've used Twilio's Cocoapods Spec Repo before you may need to update it by running pod repo update twilio before installing dependencies.

Manual

First download the iOS Video Framework and unpack it. Then drag TwilioVideo.framework into your Xcode project target's embedded binaries.

In the dialogue that pops up, make sure the framework is added to your application target, and check "Copy items if needed".

Next, you will need to open your project's Linked Frameworks and Libraries configuration. You should see the Twilio framework there already. Add the following frameworks to that list:

  • AudioToolbox.framework
  • VideoToolbox.framework
  • AVFoundation.framework
  • CoreTelephony.framework
  • GLKit.framework
  • CoreMedia.framework
  • SystemConfiguration.framework
  • libc++.tbd

In your Build Settings, you will also need to modify "Other Linker Flags" to include -ObjC. We recommend that you start with our iOS Quickstart first to get a sense of how all these components fit together. The Quickstart app is set up to manage dependencies with Cocoapods, but you can also install the frameworks manually, as described above.

Supported Devices

The iOS SDK supports devices or simulators running iOS 8.1 or higher. It is built for armv7, arm64, x86, and x86_64 architectures. Devices based on the A5 SoC (iPhone 4s, iPad 2, iPad Mini 1, iPod Touch 5G) are not supported, and the SDK will not perform well on them.

JavaScript

You can install the JavaScript Video library using NPM or Bower. You can also include it in your application using our CDN.

NPM

npm install --save twilio-video

Bower

bower install --save "twilio-video#1.0.0-beta3"

CDN

<script src="//media.twiliocdn.com/sdk/js/video/v1/twilio-video.min.js"></script>

Supported Browsers

The JavaScript Video library requires recent versions of Chrome and Firefox.