Bitmovin Player API 8.268.0
    Preparing search index...

    Interface SegmentRequestFinishedEvent

    interface SegmentRequestFinishedEvent {
        downloadTime: number;
        duration: number;
        httpStatus: number;
        isInit: boolean;
        mimeType: string;
        size: number;
        success: boolean;
        timestamp: number;
        timeToFirstByte: number;
        type: PlayerEvent;
        uid: string;
        url: string;
    }

    Hierarchy (View Summary)

    Index
    downloadTime: number

    The time needed to finish the request.

    duration: number

    The expected size of the segment in seconds.

    httpStatus: number

    The HTTP status code of the request. Status code 0 means a network or CORS error happened.

    isInit: boolean

    Indicates whether the segment is an init segment (true) or not (false).

    mimeType: string

    The mimeType of the segment

    size: number

    The size of the downloaded data, in bytes.

    success: boolean

    Indicates whether the request was successful (true) or failed (false).

    timestamp: number

    The time at which this event was fired

    timeToFirstByte: number

    The time-to-first-byte for this request in seconds. Returns -1 in case no bytes were received, i.e. the request has been cancelled before receiving the headers.

    Event type, e.g. 'play'

    uid: string

    The Unique ID of the downloaded segment

    url: string

    The URL of the request.