Class: LiveSeekableRange

Constructor

LiveSeekableRange

new LiveSeekableRange(start, end, isMovingWindow, isLiveDone)

Parameter

start

Optional

number

end

Optional

number

isMovingWindow

Optional

boolean

isLiveDone

Optional

boolean

Properties

end

(number or undefined)

End of the seekable range in seconds. This member is only updated sporadically, so its value is often out of date. Use the getEstimatedLiveSeekableRange method to get an estimate of the real position based on the last information reported by the receiver.

isLiveDone

(boolean or undefined)

A boolean value indicates whether a live stream is ended. If it is done, the end of live seekable range should stop updating.

isMovingWindow

(boolean or undefined)

A boolean value indicates whether the live seekable range is a moving window. If false, it will be either a expanding range or a fixed range meaning live has ended.

start

(number or undefined)

Start of the seekable range in seconds. This member is only updated sporadically, so its value is often out of date. Use the getEstimatedLiveSeekableRange method to get an estimate of the real position based on the last information reported by the receiver.