Skip to main content

AndroidPlayerConfiguration

Player configuration specific to the Android platform.

Properties​

forceInStreamDrmInitData?​

optional forceInStreamDrmInitData: boolean

Sets whether to use DRM init data coming from segments or from the manifest.

Remarks​

Limited to MPEG-DASH streams.


pictureInPictureActionsDisabled?​

optional pictureInPictureActionsDisabled: boolean

When true, the SDK does not add its own controls (seek ±10s and play/pause) to the Picture-in-Picture window, leaving the application free to install its own via Activity.setPictureInPictureParams().

Defaults to false.


segmentParameters?​

optional segmentParameters: Record<string, string>

Header params to add to segment requests.


segmentQueryParameters?​

optional segmentQueryParameters: Record<string, string>

Query params to add to segment requests


contentParameters?​

optional contentParameters: Record<string, string>

Header params to add to content (manifest) requests.


contentQueryParameters?​

optional contentQueryParameters: Record<string, string>

Query params to add to content (manifest) requests.


secondaryDisplayBehaviour?​

optional secondaryDisplayBehaviour: AndroidSecondaryDisplayBehaviour

The behavior of the player when a secondary display is connected.


liveConfiguration?​

optional liveConfiguration: AndroidLiveConfiguration

The live configuration to tweak live latency and others.


bufferConfiguration?​

optional bufferConfiguration: AndroidBufferConfiguration

The buffer configuration to tweak buffer size and others.


networkConfiguration?​

optional networkConfiguration: AndroidNetworkConfiguration

The network configuration to tweak timeouts and retry options.


abrConfiguration?​

optional abrConfiguration: AndroidAbrConfiguration

The ABR configuration to tweak adaptive bitrate streaming options.