Specifies stream data.
| Properties | |
|---|---|
ad
|
The ad period data for the ad period currently playing. |
ad
|
Timing related information for currently playing ad. |
cuepoints
|
The ad cuepoints for the on-demand stream. |
error
|
The error message due to a stream error. |
manifest
|
The format of the stream manifest. |
stream
|
The unique ID to identify the current stream. |
subtitles
|
The subtitles for the stream currently playing. |
url
|
The manifest URL of the stream to play. |
Properties
adPeriodData
adPeriodData:
AdPeriodData
AD_PERIOD_STARTED stream event.
adProgressData
adProgressData:
AdProgressData
cuepoints
cuepoints:
CuePoint[]
cuepoints property only populates in the event listener for
the CUEPOINTS_CHANGED stream event.
errorMessage
errorMessage: string
manifestFormat
manifestFormat: string
streamId
streamId: string
subtitles
subtitles: {
language: string;
language_name: string;
url: string;
}[]
language key, a language_name key to
separate the specific set of subtitles if multiple sets exist for the same language, and
a url key which points to the subtitles file.
url
url: string