Interface MKSegmentRequestFinishedEvent

MKPlayer event base.

Hierarchy

Properties

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 timestamp (in milliseconds) when this event was fired.

Event type.

uid: string

The Unique ID of the downloaded segment.