AI-generated Key Takeaways
-
LiveSeekableRange
provides the seekable range of a live stream with start and end times in seconds. -
It includes properties such as
start
,end
,isMovingWindow
, andisLiveDone
to indicate the range and status of the live stream. -
The
start
andend
properties are only updated sporadically and might be outdated, so thegetEstimatedLiveSeekableRange
method is recommended for a more accurate estimate. -
isMovingWindow
indicates if the seekable range is a moving window or fixed, andisLiveDone
signals whether the live stream has ended.
chrome.cast.media. LiveSeekableRange
Provides the live seekable range with start and end time in seconds.
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.