Track

data class Track(val audioMode: AudioMode?, val audioQuality: AudioQuality?, val audioBitRate: Int?, val audioBitDepth: Int?, val audioCodec: String?, val audioSampleRate: Int?, val productId: String, val assetPresentation: AssetPresentation, val duration: Float, val assetSource: AssetSource, val playbackSessionId: String, val referenceId: String?) : PlaybackContext

Playback context with track specific properties.

Parameters

audioMode

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

audioQuality

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

audioBitRate

The bit rate indicated in number of bits per second of the media product being played.

audioBitDepth

The bit depth indicated in number of bits used per sample of the media product being played.

audioCodec

The codec name of the media product being played.

audioSampleRate

The sample rate indicated in Hz of the media product being played.

Constructors

Link copied to clipboard
constructor(audioMode: AudioMode?, audioQuality: AudioQuality?, audioBitRate: Int?, audioBitDepth: Int?, audioCodec: String?, audioSampleRate: Int?, 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.