StreamData
A class for specifying stream data.
Properties
adProgressData
nullable AdProgressData
Timing related information for currently playing ad.
cuepoints
nullable Array of non-null CuePoint
The ad cuepoints for the on-demand stream. These may change as the stream progresses. This will only be populated in the event listener for the CUEPOINTS_CHANGED AdEvent.
errorMessage
nullable string
The error message in the case of a stream error.
manifestFormat
nullable string
The format of the stream manifest. This could be either HLS or DASH.
podTemplateUrl
nullable string
The template URL to fetch the period from for DASH only.
streamId
nullable string
The ID used to uniquely identify the current stream.
subtitles
nullable Array of {url: string, language: string, language_name: string}
The subtitles for the stream being played. This is an array of objects, where each object has a "language", a "language name" which differentiates the specific set of subtitles if multiple sets exist for the same language , and a "url" which points to the subtitles file.
url
nullable string
The manifest URL of the stream that needs to be played.