Constructor

MediaInformation

new MediaInformation()

Properties

breakClips

(non-null Array of non-null cast.framework.messages.BreakClip or undefined)

Partial list of break clips that includes current break clip that receiver is playing or ones that receiver will play shortly after, instead of sending whole list of clips. This is to avoid overflow of MediaStatus message.

breaks

(non-null Array of non-null cast.framework.messages.Break or undefined)

List of breaks.

contentId

string

Typically the url of the media.

contentType

string

The content MIME type.

contentUrl

(string or undefined)

Optional media url, to allow using contentId for real id. If contentUrl is provided, it will be used as media url, otherwise the contentId will be used as the media url.

customData

(non-null Object or undefined)

Application-specific media information.

duration

(number or undefined)

The media duration.

entity

(string or undefined)

Optional Media entity, provide Google Assistent deep link.

hlsSegmentFormat

(non-null cast.framework.messages.HlsSegmentFormat or undefined)

The format of the HLS media segment.

metadata

(non-null cast.framework.messages.MediaMetadata, non-null Object, or undefined)

The media metadata.

streamType

non-null cast.framework.messages.StreamType

The stream type.

textTrackStyle

(non-null cast.framework.messages.TextTrackStyle or undefined)

The style of text track.

tracks

(non-null Array of non-null cast.framework.messages.Track or undefined)

The media tracks.