Skip to content

Table of Contents

The Red Bee Media Managed OTT Android SDK serves as our playback client for platforms that support Android development. Acting as a bridge between your Android application, the video player APIs, and the Red Bee Platform, it simplifies intricate tasks such as device compatibility, authentication, analytics, and more. With this SDK, you can streamline your focus, leaving behind the complexities of managing these details and enhancing the overall user experience on Android devices. The following tutorials will show you various ways Enigma River Android SDK can be utilized, and described advanced topics.


-> Basics Series
-> Custom UI Controls Series
-> Video Tracks
-> Audio and Subtitles Series
-> Chromecast Integration Series
-> Downloads and Offline Playback Series
-> Additional Topics for Download and Offline Playback Series
-> Migration Guide (Android SDK 2.0 -> Enigma River Android SDK)
-> Advanced Topics
-> Release Notes

Basics series

Purpose

The purpose of this series is to familiarize yourself with Enigma River Android SDK concepts and basic setup.

What will you learn

At the end, you should have a running Android application that will: * Authenticate to Redbee Media OTT backend. * Play media assets from RedBee Media OTT. * Use a custom layout for play, pause, seeking, timeline, loading spinner and live indicator controls.

Prerequisites
Introduction
Project setup
Your first app

Custom UI controls series

Purpose

The purpose of this series is to teach you how to integrate your custom UI playback controls to Enigma Android Player.

What will you learn

At the end, you should have a running Android application that will: * Authenticate to Redbee Media OTT backend. * Play media assets from RedBee Media OTT. * Use a custom layout for play, pause, seeking, timeline, loading spinner and live indicator controls.

Prerequisites
Basics: play, pause and seeking
Play/Pause Button
Custom timeline
Spinner and Live Indicator
Custom UI app

Video tracks

Purpose

The purpose of this series is to teach you to build a custom UI that will keep track video tracks with Enigma Android Player.

What will you learn

At the end, you should have a running Android application that will: * Authenticate to Redbee Media OTT backend. * Play media assets from RedBee Media OTT. * Change video tracks.

Prerequisites
Video tracks selection

Audio and subtitles series

Purpose

The purpose of this series is to teach you to build a custom UI that will keep track and change audio and subtitle tracks with Enigma Android Player.

What will you learn

At the end, you should have a running Android application that will: * Authenticate to Redbee Media OTT backend. * Play media assets from RedBee Media OTT. * Change audio tracks and subtitles.

Prerequisites
Audio and subtitle selection

Chromecast integration series

Purpose

The purpose of this series is to teach you how to integrate Chromecast support to Enigma Android Player.

What will you learn

At the end, you should have a running Android application that will: * Authenticate to Redbee Media OTT backend. * Play media assets from RedBee Media OTT. * Provide custom UI to cast the media to a Chromecast device.

Integrating Red Bee OTT cast support

Downloads and offline playback series

Purpose

The purpose of this series is to how to add support for offline playback in your Enigma Android Player application.

What will you learn

You will learn how to: * Check if an asset is downloadable. * Download an asset. * Select bitrate for download. * Show a list of downloaded asset. * Remove a downloaded asset.

Prerequisites
Gradle dependencies
Check if an asset is downloadable
Using the download API
Get available tracks for download
Start asset download
Managing ongoing downloads
Listing downloaded assets
Start playback of a downloaded asset
Remove downloaded assets
Downloads app

Additional topics for download and offline playback series

Purpose

The purpose of this series is to provide some additional tutorials on how to achieve specific tasks and features related to downloads.

Working with DRM protected offline content
AssetDownloadState
Offline Analytics events
Only download on wifi networks
AssetQueueDownload

Migration guide (Android SDK 2.0 -> Enigma River Android SDK)

Purpose

The purpose of this series is to help app developers currently using the old 2.0 SDK migrate to using the Enigma River Android SDK (3.0).

Introduction
Structural changes
Changes to SDK initialization
Changes to authentication/login
Changes to asset metadata retrieval
Changes to playback
Further reading

Advanced Topics

The following tutorials provide in-depth information about different areas of interest when implementing/integrating custom controls for EnigmaPlayer.

Virtual controls
Controlling EnigmaPlayer programmatically
Custom Analytics Url
Timeline API
EnigmaPlayerState
Playback Session
Live drift correction (ExoPlayer)
Overriding media format selection logic
Marker points
Add cast custom images on sender screen (Album Art)
Media Session
Ad Insertion
Sprites API
Playback Configuration
Audio Only
Mux Integration