Interface MKSessionDataEvent

Session data parsed from #EXT-X-SESSION-DATA tags of HLS master manifest.

interface MKSessionDataEvent {
    sessionData: { type: string; value: any };
    timestamp: number;
    type: MKPlayerEvent;
}

Hierarchy (View Summary)

Properties

sessionData: { type: string; value: any }

The parsed session data.

Type declaration

  • type: string

    Indicates which kind of session data this event carries. Example: "sessionDataPauseAd"

  • value: any

    The session data payload.

timestamp: number

The timestamp (in milliseconds) when this event was fired.

Event type.