Player Module

The Player module contains all available API of the Bitmovin Android Player SDK.

The Player is the main entry point that plays back and handles one or more sources while a Source represents audio and video content that can be loaded into a Player. More information on how to manage multiple sources can be found on the PlaylistApi. Player and Sources emit events during their lifecycle that can be subscribed to in order to enable custom workflows.

The Player module also comes with a PlayerView that provides the Bitmovin Player Web UI and default UI handling to an attached Player instance.

The OfflineContentManager offers the ability to download and store sources locally to enable playback with a Player without an active network connection.

Optional dependencies

Advertising

In order to use advertising functionality, the following dependencies must be added manually

    implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.26.0'
implementation "com.google.android.gms:play-services-ads-identifier:18.0.1"

Casting

In order to use casting functionality, the following dependency must be added manually

    implementation 'com.google.android.gms:play-services-cast-framework:21.0.1'

Offline playback

In order to use offline functionality, the following dependency must be added manually

    implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'

Additionally, the permission for checking the network state is required

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Additional Resources

Packages

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Contains API to enable advertising workflows.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Contains API to configure buffer behavior.

Link copied to clipboard

Contains API to enable casting functionality.

Link copied to clipboard

Contains types used to represent errors and warnings within the SDK.

Link copied to clipboard

Contains API to enable DRM playback.

Link copied to clipboard

Contains all Bitmovin events and API to enable subscribing to those events.

Link copied to clipboard
Link copied to clipboard

Contains API to configure live playback.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Contains API to enable offline playback.

Link copied to clipboard
Link copied to clipboard

Contains API to enable playlist functionality.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard