GCKMediaStatus.h File

  • The Cast SDK provides a comprehensive framework and UI elements for integrating live stream playback into your application.

  • Live streams can be implemented by intercepting LOAD messages or by generating specific load requests with live stream settings.

  • Developers can enhance the user experience by displaying program guide data using MediaMetadata objects.

  • The Cast SDK offers control over live seekable range, allowing users to seek within the stream and providing developers with tools to manage seek behavior.

  • Playback behavior for live streams varies depending on seekability and stream settings, with options for resuming from the live edge or a paused position.

GCKMediaStatus.h File Reference

GCKMediaPlayerState and GCKMediaPlayerIdleReason enums. More...

Classes

class  GCKMediaStatus
 A class that holds status information about some media. More...
 

Enumerations

enum  GCKMediaPlayerState {
  GCKMediaPlayerStateUnknown = 0, GCKMediaPlayerStateIdle = 1, GCKMediaPlayerStatePlaying = 2, GCKMediaPlayerStatePaused = 3,
  GCKMediaPlayerStateBuffering = 4, GCKMediaPlayerStateLoading = 5
}
 Media player states. More...
 
enum  GCKMediaPlayerIdleReason {
  GCKMediaPlayerIdleReasonNone = 0, GCKMediaPlayerIdleReasonFinished = 1, GCKMediaPlayerIdleReasonCancelled = 2, GCKMediaPlayerIdleReasonInterrupted = 3,
  GCKMediaPlayerIdleReasonError = 4
}
 Media player idle reasons. More...
 

Detailed Description

GCKMediaPlayerState and GCKMediaPlayerIdleReason enums.

Enumeration Type Documentation

Media player states.

Enumerator
GCKMediaPlayerStateUnknown 

Constant indicating unknown player state.

GCKMediaPlayerStateIdle 

Constant indicating that the media player is idle.

GCKMediaPlayerStatePlaying 

Constant indicating that the media player is playing.

GCKMediaPlayerStatePaused 

Constant indicating that the media player is paused.

GCKMediaPlayerStateBuffering 

Constant indicating that the media player is buffering.

GCKMediaPlayerStateLoading 

Constant indicating that the media player is loading media.

Media player idle reasons.

Enumerator
GCKMediaPlayerIdleReasonNone 

Constant indicating that the player currently has no idle reason.

GCKMediaPlayerIdleReasonFinished 

Constant indicating that the player is idle because playback has finished.

GCKMediaPlayerIdleReasonCancelled 

Constant indicating that the player is idle because playback has been cancelled in response to a STOP command.

GCKMediaPlayerIdleReasonInterrupted 

Constant indicating that the player is idle because playback has been interrupted by a LOAD command.

GCKMediaPlayerIdleReasonError 

Constant indicating that the player is idle because a playback error has occurred.