Video

data class Video(val videoId: Int, val videoQuality: VideoQuality, val assetPresentation: AssetPresentation, val streamType: StreamType, val manifestHash: String, val streamingSessionId: String, val manifestMimeType: ManifestMimeType, val manifest: String, val licenseSecurityToken: String? = null, val albumReplayGain: Float, val albumPeakAmplitude: Float, val trackReplayGain: Float, val trackPeakAmplitude: Float, val offlineRevalidateAt: Long, val offlineValidUntil: Long) : PlaybackInfo

Playback info with video specific properties.

Constructors

Link copied to clipboard
constructor(videoId: Int, videoQuality: VideoQuality, assetPresentation: AssetPresentation, streamType: StreamType, manifestHash: String, streamingSessionId: String, manifestMimeType: ManifestMimeType, manifest: String, licenseSecurityToken: String? = null, albumReplayGain: Float, albumPeakAmplitude: Float, trackReplayGain: Float, trackPeakAmplitude: Float, offlineRevalidateAt: Long, offlineValidUntil: Long)

Properties

Link copied to clipboard
open override val albumPeakAmplitude: Float
Link copied to clipboard
open override val albumReplayGain: Float
Link copied to clipboard

The actual asset presentation.

Link copied to clipboard
open override val licenseSecurityToken: String? = null

Token used to fetch DRM license if needed.

Link copied to clipboard
open override val manifest: String

Base64 encoded manifest.

Link copied to clipboard

Unique id for the manifest and the content it refers to.

Link copied to clipboard

A mime type of the manifest.

Link copied to clipboard
open override val offlineRevalidateAt: Long

Indicates the earliest time at which the client is allowed to revalidate an offlined media product.

Link copied to clipboard
open override val offlineValidUntil: Long

Indicates how long an offline is valid for.

Link copied to clipboard
open override val streamingSessionId: String

A uuid generated by the client for this streaming session.

Link copied to clipboard

The actual stream type.

Link copied to clipboard
open override val trackPeakAmplitude: Float
Link copied to clipboard
open override val trackReplayGain: Float
Link copied to clipboard

The actual video id.

Link copied to clipboard

The actual video quality.