P2P Media Loader Documentation
    Preparing search index...

    Type Alias SegmentResponse

    Represents the response from a segment request, including the data and measured bandwidth.

    type SegmentResponse = {
        data: ArrayBuffer;
        bandwidth: number;
    }
    Index

    Properties

    Properties

    data: ArrayBuffer

    Segment data as an ArrayBuffer.

    bandwidth: number

    Measured bandwidth for the segment download, in bytes per second.