Defines a single event within an EventStream, including its timing, duration, and optional message data.

interface EventType {
    duration?: number;
    id?: number;
    messageData?: string;
    presentationTime: number;
}

Properties

duration?: number

The duration of the event, in timescale units.

id?: number

A unique identifier for the event.

messageData?: string

An optional string containing message data associated with the event.

presentationTime: number

The presentation time of the event, in timescale units, relative to the start of the presentation.