Skip to contentSkip to navigationSkip to topbar
On this page

Migrating From 6.x to 7.x


(warning)

Warning

This documentation 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, 2026(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.

This guide provides an introduction to the 7.x Programmable Video Android SDK and a set of guidelines to migrate an application from 6.x to 7.x.


New Features

new-features page anchor
  • The minimum supported Android SDK version has been increased from 16 to 21
  • The SDK has been upgraded to use Chromium WebRTC 88
  • The SDK uses Unified Plan SDP semantics instead of Plan-B. This brings several important benefits:
    • Improved interoperability with Firefox, Safari and Chrome in Peer-to-Peer and Go Rooms
    • Track level operations like publishing and unpublishing are more reliable
  • Improved performance of Room.getStats() by adopting the W3C standardized RTC stats API
  • Unused codecs for a track are removed from the local SDP offer in order to reduce the SDP size, once codecs for the track have been negotiated

The minimum supported Android SDK version has been increased from 16 to 21.

Updating an Application

updating-an-application page anchor

In your build.gradle files, ensure all the SDK version values, minSdkVersion, targetSskVersion and compileSdkVersion, are set to 21 or higher, e.g.:

1
android {
2
compileSdkVersion 30
3
...
4
defaultConfig {
5
...
6
minSdkVersion 21
7
targetSdkVersion 30
8

RemoteParticipantObserver Callbacks

remoteparticipantobserver-callbacks page anchor

The ordering of RemoteParticipantObserver.onAudioTrackSubscribed() and RemoteParticipantObserver.onVideoTrackSubscribed() is not strictly guaranteed.

In this release, the ordering of these callbacks may be different when compared to previous releases.


The value of LocalVideoTrackStats.frames_encoded now reflects the total number of frames encoded for a simulcast track.


The public API WebRTC classes defined in libwebrtc.jar included with the Video Android SDK have been updated from Chromium WebRTC 83 to WebRTC 88.

Since the public WebRTC 88 API for Android is backward compatible with the WebRTC 83 API, it is not expected that your application would require code changes related to WebRTC classes when upgrading from Android Video SDK 6.x to 7.0.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.