SegmentErrorDetails: {
    error: RequestError;
    segment: Segment;
    downloadSource: DownloadSource;
    peerId: string | undefined;
    streamType: StreamType;
}

Represents details about a segment error event.

Type declaration

  • error: RequestError

    The error that occurred during the segment download.

  • segment: Segment

    The segment that the event is about.

  • downloadSource: DownloadSource

    The source of the download.

  • peerId: string | undefined

    The peer ID, if the segment was downloaded from a peer.

  • streamType: StreamType

    The type of stream that the segment is associated with.