THEOplayer Web SDK
    Preparing search index...

    Interface SegmentErrorEvent

    Fired when a segment cannot be loaded.

    interface SegmentErrorEvent {
        date: Date;
        error: string;
        quality: undefined | Quality;
        retryCount: number;
        segmentStartTime: number;
        statusCode: undefined | number;
        statusMessage: undefined | string;
        track: undefined | Track;
        trackType: MediaTrackType;
        type: "segmenterror";
    }

    Hierarchy (View Summary)

    • Event<"segmenterror">
      • SegmentErrorEvent
    Index

    Properties

    date: Date

    The creation date of the event.

    error: string

    The general error message describing the error that occurred while requesting the manifest.

    quality: undefined | Quality

    The quality of the track that this segment belongs to, if available.

    retryCount: number

    The number of times the loading of a manifest has been tried.

    segmentStartTime: number

    The time the segment starts in the stream, in seconds.

    statusCode: undefined | number

    The HTTP status code corresponding to the network error returned by the network request.

    statusMessage: undefined | string

    The network status message describing the error that occurred while requesting the manifest.

    track: undefined | Track

    The track that this segment belongs to, if available.

    trackType: MediaTrackType

    The type of track that this segment belongs to/

    type: "segmenterror"

    The type of the event.