P2P Media Loader Documentation
    Preparing search index...

    Type Alias SegmentLoadDetails

    Represents the details about a loaded segment.

    type SegmentLoadDetails = {
        segmentUrl: string;
        bytesLength: number;
        downloadSource: DownloadSource;
        peerId: string | undefined;
        streamType: StreamType;
    }
    Index

    Properties

    segmentUrl: string

    The URL of the loaded segment

    bytesLength: number

    The length of the segment in bytes.

    downloadSource: DownloadSource

    The source of the download.

    peerId: string | undefined

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

    streamType: StreamType

    The segment that the event is about.