AI-generated Key Takeaways
-
MediaLiveSeekableRange is a class that aggregates information about the seekable range of a media stream.
-
It includes methods to get the start and end times of the seekable range in milliseconds.
-
You can check if the live stream is done or if the seekable range is a fixed-length moving window.
A class that aggregates information about the seekable range of a media stream.
Nested Class Summary
Inherited Constant Summary
Public Method Summary
| boolean | |
| long | getEndTime
()
Returns the end time, in milliseconds, of the seekable range (which ranges from
0 to the end of the duration), if available.
|
| long | getStartTime
()
Returns the start time, in milliseconds, of the seekable range (which ranges
from 0 to the end time as returned by
getEndTime()
). |
| int | hashCode
()
|
| boolean | |
| boolean | isMovingWindow
()
Returns
true
if the current seekable range is a fixed-length
moving window or false
if it is an expanding range. |
| void |
Inherited Method Summary
Public Methods
public boolean equals ( Object other)
public long getEndTime ()
Returns the end time, in milliseconds, of the seekable range (which ranges from 0 to the end of the duration), if available.
public long getStartTime ()
Returns the start time, in milliseconds, of the seekable range (which ranges from 0
to the end time as returned by getEndTime()
).
public int hashCode ()
public boolean isLiveDone ()
Returns the flag indicating whether the current live stream is done. It's updated to true
when live stream finishes. This is specifically for event-type live
stream, which might change to VOD when live stream finishes.
public boolean isMovingWindow ()
Returns true
if the current seekable range is a fixed-length moving
window or false
if it is an expanding range.

