Prerequisites and Dependencies
Prerequisites
The following development tools are required; see Recommended tool versions below.
Java SDK - Download the JDK11 from http://www.oracle.com/technetwork/java/javase/downloads/index.html.
Android Studio - Download the latest version of Android Studio from http://developer.android.com/sdk/index.html.
Gradle - use the newest version as recommended by Android Studio.
You also need a device running Android 5.0 (Lollipop) or higher. The app requires a physical Android device with debugging enabled per Android guidelines (http://developer.android.com/tools/device.html). It will not work on an emulator.
Dependencies
The table below lists the external library dependencies for integrating the SDK and its features. Dependencies for other features are listed under the relevant feature description.
Dependency | Version | Required for |
---|---|---|
| 1.2.0 | Android X general support |
| 31.0.1-android | Google Java Core Libraries |
| 2.2.5 | Offline playback feature |
| 3.0.1 | Handling Widevine-encrypted content |
| 3.20.1 | Playing Google IMA ads |
| 17.0.0 | Playing Google IMA ads |
| 1.3.0 | NAGRA Insight agent for collecting statistics. Provided with the CONNECT Player package |
Build configuration
To build an application with this SDK, the following have to be configured in your Gradle file(s):
Configuration item | Configuration value |
---|---|
| 32 or higher |
| 21 or higher |
Recommended tool versions
Tool | Recommended version |
---|---|
Java JDK | 17 |
Gradle | 7.3.2 |
Android Gradle Plugin | 7.0.4 |
Open-source usage
The following third-party software is used and embedded within the CONNECT Player SDK 5 for Android.
Open-source | Version | Licence | Website |
---|---|---|---|
exo-player | 2.16.1 | Apache V2.0 | |
Java-side open-source libraries | |||
protobuf-lite | 3.0.1 | MIT | https://github.com/elderapo/protobuf-lite/blob/master/LICENSE |
guava | 31.0.1-android | Apache V2.0 |