SegmentStartDetails: {
    segment: Segment;
    downloadSource: DownloadSource;
    peerId: string | undefined;
}

Represents details about a segment event.

Type declaration

  • segment: Segment

    The segment that the event is about.

  • downloadSource: DownloadSource

    The origin of the segment download.

  • peerId: string | undefined

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