OpenTV Player SDK 4 for Android Documentation
The OpenTV Player SDK 4 for Android enables application developers to embed the OpenTV Player within an existing or new native Java or Kotlin application. The Android SDK 4 wraps and extends the existing 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 (Lollipop) onwards | 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
The Android SDK 4 package typically contains the following files:
- opy-sdk-android-4.24.x-example-code.zip
This contains code examples to demonstrate the features of the CONNECT Player; see the Android SDK 4 Example Code Quick Start guide. - opy-sdk-android-4.24.x-integration.jar
This file is used for integration activities; see the Android SDK 5 Integration Guide: Creating the project . opy-sdk-android-4.24.x-production.jar
This file replaces the integration version when the application is ready to be deployed; see the Android SDK 4 Integration Guide: Building the production version.opy-sdk-android-4.24.x-cpakjava.securestorageagent-3.11.2.0.jar and opy-sdk-android-4.24.x-cpak-3.11.2.0.jar
Player Access Kernal (PAK) libraries; see Playback of PRM encrypted content.
The PRM Operator Vault file opvault.json is provided separately.
Open source usage
The following third-party software is used and embedded within the OpenTV Player SDK 4 for Android.