Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SegmentRequestFinishedEvent

Hierarchy

Index

Properties

downloadTime

downloadTime: number

The time needed to finish the request.

duration

duration: number

The expected size of the segment in seconds.

httpStatus

httpStatus: number

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

isInit

isInit: boolean

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

mimeType

mimeType: string

The mimeType of the segment

size

size: number

The size of the downloaded data, in bytes.

success

success: boolean

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

timestamp

timestamp: number

The time at which this event was fired

type

type: Event

Event type, e.g. 'onPlay'

uid

uid: string

The Unique ID of the downloaded segment

Generated using TypeDoc