SegmentAbortDetails: {
    segment: Segment;
    downloadSource: DownloadSource | undefined;
    peerId: string | undefined;
    streamType: StreamType;
}

Represents details about a segment abort event.

Type declaration

  • segment: Segment

    The segment that the event is about.

  • downloadSource: DownloadSource | undefined

    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.