cast.framework.events. EmsgEvent
Event data for cast.framework.events.EventType.EMSG event.
Constructor
EmsgEvent
new EmsgEvent(emsgData)
Parameter |
|
---|---|
emsgData |
Object Value must not be null. |
Properties
endTime
(number or undefined)
The time that the event ends (in presentation time).
eventDuration
(number or undefined)
The duration of the event (in units of timescale).
id
(number or undefined)
A field identifying this instance of the message.
messageData
(non-null Uint8Array or undefined)
Body of the message, which can contain ID3 metadata if signaled by the schemeIdUri value. The schemeIdUri "https://aomedia.org/emsg/ID3" and "https://developer.apple.com/streaming/emsg-id3" will always signal ID3 metadata.
presentationTimeDelta
(number or undefined)
The offset that the event starts, relative to the start of the segment this is contained in (in units of timescale).
schemeIdUri
(string or undefined)
Identifies the message scheme.
segmentData
(non-null Uint8Array or undefined)
The entire, raw segment data encompassing the EMSG. This field is scheduled for deprecation and is recommended to instead use the provided EMSG event data fields.
startTime
(number or undefined)
The time that the event starts (in presentation time).
timescale
(number or undefined)
Provides the timescale, in ticks per second.
value
(string or undefined)
Specifies the value for the event.