Constructor

MediaStatus

new MediaStatus()

Properties

activeTrackIds

(non-null Array of number or undefined)

List of IDs corresponding to the active tracks.

breakStatus

(non-null cast.receiver.media.BreakStatus or undefined)

Status of break, if receiver is playing break. This field will be defined only when receiver is playing break.

currentItemId

(number or undefined)

ID of this media item (the item that originated the status change).

currentTime

number

The current playback position.

customData

(non-null Object or undefined)

Application-specific media status.

extendedStatus

(non-null cast.receiver.media.ExtendedMediaStatus or undefined)

Extended media status information.

idleReason

(non-null cast.receiver.media.IdleReason or undefined)

If the state is IDLE, the reason the player went to IDLE state.

items

(non-null Array of non-null cast.receiver.media.QueueItem or undefined)

List of media queue items.

liveSeekableRange

(non-null cast.receiver.media.LiveSeekableRange or undefined)

Seekable range of a live or event stream. It uses relative media time in seconds. It will be undefined for VOD streams.

loadingItemId

(number or undefined)

ID of the media Item currently loading. If there is no item being loaded, it will be undefined.

media

(non-null cast.receiver.media.MediaInformation or undefined)

The media information.

mediaSessionId

number

Unique id for the session.

playbackRate

number

The playback rate.

playerState

non-null cast.receiver.media.PlayerState

The playback state.

preloadedItemId

(number or undefined)

ID of the next Item, only available if it has been preloaded. Media items can be preloaded and cached temporarily in memory, so when they are loaded later on, the process is faster (as the media does not have to be fetched from the network).

queueData

(non-null cast.receiver.media.QueueData or undefined)

Queue data.

repeatMode

(non-null cast.receiver.media.RepeatMode or undefined)

The behavior of the queue when all items have been played.

supportedMediaCommands

number

The commands supported by this player.

type

non-null cast.receiver.media.MessageType

videoInfo

(non-null cast.receiver.media.VideoInformation or undefined)

The video information.

volume

non-null cast.receiver.media.Volume

The current stream volume.