Stream Config
class StreamConfig(var streamId: String, var authenticationToken: String? = null, var autoPlay: Boolean = false, var muted: Boolean = false, var poster: String? = null, var startTime: Double = 0.0, var loop: Boolean = false, var fullscreenConfig: FullscreenConfig, var subtitles: List<SubtitleTrack> = emptyList(), var streamListener: StreamListener? = null, var enableAds: Boolean = true, var styleConfig: StyleConfigStream = StyleConfigStream(), var allLogs: Boolean = false)
Configuration for the BitmovinStream.
See also
Constructors
Link copied to clipboard
constructor(streamId: String, authenticationToken: String? = null, autoPlay: Boolean = false, muted: Boolean = false, poster: String? = null, startTime: Double = 0.0, loop: Boolean = false, fullscreenConfig: FullscreenConfig = FullscreenConfig(), subtitles: List<SubtitleTrack> = emptyList(), onStreamReady: (Player, PlayerView) -> Unit = { _, _ -> }, onStreamError: (StreamError) -> Unit = { _ -> }, enableAds: Boolean = true, styleConfig: StyleConfigStream = StyleConfigStream(), allLogs: Boolean = false)
Configuration for the BitmovinStream
constructor(streamId: String, authenticationToken: String? = null, autoPlay: Boolean = false, muted: Boolean = false, poster: String? = null, startTime: Double = 0.0, loop: Boolean = false, fullscreenConfig: FullscreenConfig, subtitles: List<SubtitleTrack> = emptyList(), streamListener: StreamListener? = null, enableAds: Boolean = true, styleConfig: StyleConfigStream = StyleConfigStream(), allLogs: Boolean = false)
Properties
Link copied to clipboard
The token to be used for authentication if the stream is protected.
Link copied to clipboard
The configuration for the fullscreen mode.
Link copied to clipboard
The listener for the player events.
Link copied to clipboard
The style configuration for the player. This property has priority over the style configuration from the dashboard.