BitmovinStream

fun BitmovinStream(config: StreamConfig, modifier: Modifier = Modifier)

Bitmovin Streams Player Component.

This Jetpack Compose component allows you to play a stream using the Bitmovin Player by providing the streamId of the stream to be played.

Parameters

config

The configuration for the player.

modifier

The modifier to be applied to the stream player.

See also


fun BitmovinStream(streamId: String, modifier: Modifier = Modifier, authenticationToken: String? = null, autoPlay: Boolean = false, loop: Boolean = false, muted: Boolean = false, poster: String? = null, startTime: Double = 0.0, subtitles: List<SubtitleTrack> = emptyList(), fullscreenConfig: FullscreenConfig = FullscreenConfig(), streamListener: StreamListener? = null, enableAds: Boolean = true, styleConfig: StyleConfigStream = StyleConfigStream(), allLogs: Boolean = false)

Bitmovin Streams Player Component.

This Jetpack Compose component allows you to play a stream using the Bitmovin Player by providing the streamId of the stream to be played.

Parameters

streamId

The streamId of the stream to be played.

modifier

The modifier to be applied to the stream player.

authenticationToken

The token to be used for authentication if the stream is protected.

autoPlay

Whether the player should start playing automatically.

loop

Whether the player should loop the stream.

muted

Whether the player should be muted.

poster

The poster image to be displayed before the player starts. This property has priority over the poster image from the dashboard.

startTime

The time in seconds at which the player should start playing.

subtitles

The list of subtitle tracks available for the stream.

fullscreenConfig

The configuration for the fullscreen mode.

streamListener

The listener for the player events.

enableAds

Whether ads should be enabled.

styleConfig

The style configuration for the player. This property has priority over the style configuration from the dashboard.

allLogs

Whether all logs should be displayed.

See also