CONNECT Player SDK 5 for Android Documentation
The CONNECT Player SDK 5 for Android enables you to embed the player within an existing or new native Java or Kotlin application. The SDK wraps and extends the media player API, providing a similar interface to the Android Video view.
Supported versions and formats
Supported OS Versions | Adaptive Streaming Format | DRM | Audio/Video Container | Encrypt Method | Block/Cypher |
---|---|---|---|---|---|
Android 5.x (Lollipop) onwards | DASH | Widevine PlayReady | ISOBMFF/F-MP4 | CENC | AES 128 CTR |
HLS | PRM | MPEG2-TS | AES 128 | AES 128 CBC |
Supported audio and video codecs
Video codec | Audio codec | Comments |
---|---|---|
H.264 | AAC-LC HE-AAC | |
H.265 | AAC-LC HE-AAC | Only where the hardware supports H.265 decoding |
SDK file contents
NAGRA supplies two variants of the SDK library, one with PRM support and one without.
If PRM is not required, the Android SDK 5 package typically contains the following files:
opy-sdk-android-5.8.x-example-code.zip
This contains code examples to demonstrate the features of the CONNECT Player; see the Android SDK5 Example Code Quick Start guide.opy-sdk-android-fps-5.8.x-integration.aar
This file is used for integration activities; see the Android SDK 5 Integration Guide: Creating the project.opy-sdk-android-fps-5.8.x-production.aar
This file replaces the integration version when the application is ready to be deployed; see the Android SDK 5 Integration Guide: Building the production version.
If you have requested NAGRA PRM support, PRM versions of the above files will be supplied:
opy-sdk-android-5.8.x-example-code-prm.zip
opy-sdk-android-5.8.x-sdk-prm-integration.aar
opy-sdk-android-5.8.x-sdk-prm-production.aar
The PRM Operator Vault file opvault.json is provided separately.
Player licence
The player will not work without an encrypted licence that controls which player features and platforms are enabled. Two types of licence are available:
- Trial licence - a time-limited licence which works with any domain to evaluate the player.
- Commercial licence - supplied to you once you licence the product. It will only work with the domain name provided with the licence.
Open-source usage
The following third-party software is used and embedded within the CONNECT Player SDK 5 for Android.
- exo-player 2.11.4
Native side open-source libraries.
- Jansson 2.11
- Cjose 0.6.0
- Openssl 1.0.2n
- boost 1.64.0
Java side open-source libraries.
- protobuf-lite 3.0.1