# TDPlayerState Constants Reference

Declared in | TritonPlayer.h

### TDPlayerState

States representing Triton Player playback life-cycle

#### Definition

`typedef NS_ENUM(NSInteger, TDPlayerState ) {
kTDPlayerStateStopped,
kTDPlayerStatePlaying,
kTDPlayerStateConnecting,
kTDPlayerStatePaused,
kTDPlayerStateError,
kTDPlayerStateCompleted,
};`

#### Constants

`kTDPlayerStateStopped`

  Player is stopped. The playhead position returns to the beginning.

  Declared In `TritonPlayer.h`.

`kTDPlayerStatePlaying`

  Player is currently playing

  Declared In `TritonPlayer.h`.

`kTDPlayerStateConnecting`

  Player is connecting to the stream

  Declared In `TritonPlayer.h`.

`kTDPlayerStatePaused`

  Player is paused. The playhead position is kept at the last position. Not available for live streams.

  Declared In `TritonPlayer.h`.

`kTDPlayerStateError`

  Player is on error state

  Declared In `TritonPlayer.h`.

`kTDPlayerStateCompleted`

  The end of the media has been reached. Not available for live streams.

  Declared In `TritonPlayer.h`.

#### Declared In

`TritonPlayer.h`