Android SDK documentation
Android SDK documentation¶
Version: 4.2.76
About¶
This is the Documentation for the PRESTOplay SDK for Android version 4.2.76.
The PRESTOplay SDK for Android provides the necessary components for partners and companies to implement their own player application for Android. This document specifically describes the capabilities of the PRESTOplay SDK for Android on the Android mobile platform.
CastLabs has developed and maintains a Java Android library called the PRESTOplay SDK for Android, which is distributed in the form of a AAR (Android Archive file). The SDK is based internally in Google’s open source ExoPlayer and provides extra functionality in form of plugins.
The main features of the SDK and the plugins bundled with the SDK are:
Playback of MPEG-DASH, SmoothStreaming, HLS, and MP4 content.
Playback of streaming and local content.
Playback of DRM protected content using Widevine, PlayReady, or OMA.
Live, event, and video-on-demand support.
Extended subtitles support.
Background playback using a Service.
Secondary screen handling.
Offline license key storage.
![_images/sdk_circle.png](_images/sdk_circle.png)
The PRESTOplay SDK for Android core and it main components, plugins, and extension points.¶
Table of Content¶
- Project Setup
- Player Basics
- Advanced Setup
- The Player Controller
- Basic Controls
- Player Callbacks
- Player States
- Error Handling
- Video Resolution Filters
- Player Model and Track Selection
- Video track selection
- Video tracks merging option
- Audio track selection
- Adaptive Bitrate Switching
- Additional Query Parameter
- CDN fallback feature
- Sideloaded Subtitle Tracks
- Streaming and Playback Events
- Live Playback
- Secondary Displays
- Tunneling Support
- Playlist Support
- The Player View
- DRM Protection
- Global Configuration
- Extensions
- Player Debugging
- Example Projects
- Kotlin
- Upgrade Guides
- Licensing