GCKMediaLiveSeekableRange Class

  • The GCKMediaLiveSeekableRange class aggregates information about the seekable range of a media stream.

  • Key properties include the start and end times of the seekable range, a flag for whether it's a moving window, and a flag indicating if the live stream is done.

  • The startTime ranges from 0 to endTime, and the endTime ranges from 0 to the end of the duration.

  • The isMovingWindow property indicates if the seek range is a fixed-length moving window or an expanding range.

  • The isLiveDone property is updated to YES when a live stream finishes.

GCKMediaLiveSeekableRange Class Reference

Overview

A class that aggregates information about seekable range of a media stream.

Since
4.4.1

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Property Summary

NSTimeInterval startTime
 The start time of seekable range, which ranges from 0 to endTime if available. More...
 
NSTimeInterval endTime
 The end time of seekable range, which ranges from 0 to end of duration if available. More...
 
BOOL isMovingWindow
 A flag indicating whether the current seek range is a fixed-length, moving window or a expanding range. More...
 
BOOL isLiveDone
 A flag indicating whether the current live stream is done. More...
 

Property Detail

- (NSTimeInterval) startTime
readnonatomicassign

The start time of seekable range, which ranges from 0 to endTime if available.

- (NSTimeInterval) endTime
readnonatomicassign

The end time of seekable range, which ranges from 0 to end of duration if available.

- (BOOL) isMovingWindow
readnonatomicassign

A flag indicating whether the current seek range is a fixed-length, moving window or a expanding range.

- (BOOL) isLiveDone
readnonatomicassign

A flag indicating whether the current live stream is done.

It's updated to YES when live stream finishes.