Video

data class Video(val streamType: StreamType?, val videoQuality: VideoQuality?, val productId: String, val assetPresentation: AssetPresentation, val duration: Float, val assetSource: AssetSource, val playbackSessionId: String, val referenceId: String?) : PlaybackContext

Playback info with track specific properties.

Parameters

streamType

The stream type of the media product being played (or null). Might differ from requested in case of a replacement.

videoQuality

The video quality of the media product being played (or null). Might differ from requested in case of a replacement.

Constructors

Link copied to clipboard
constructor(streamType: StreamType?, videoQuality: VideoQuality?, productId: String, assetPresentation: AssetPresentation, duration: Float, assetSource: AssetSource, playbackSessionId: String, referenceId: String?)

Properties

Link copied to clipboard

The asset presentation of the media product being played. Might differ from requested in case of a replacement.

Link copied to clipboard
open override val assetSource: AssetSource

The source of the assets that is used for playback

Link copied to clipboard
open override val duration: Float

The duration, in seconds, of the media product being played. Might differ from the meta data connected to the requested in case of a replacement.

Link copied to clipboard
open override val playbackSessionId: String

The playback session id that is used for PlayLog and StreamingMetrics (streamingSessionId) for the currently active playback.

Link copied to clipboard
open override val productId: String

The product id of the media product being played. Might differ from requested in case of a replacement.

Link copied to clipboard
open override val referenceId: String?

Loopback of the referenceId in the media product that this playback context relates to.

Link copied to clipboard
Link copied to clipboard