RtePlayerState
The playback state.
- Since
- v4.5.0
Enumerator
- kRtePlayerStateIdle
- 0: Idle.
- kRtePlayerStateOpening
- 1: Opening URL resource. This state code is reported when OpenWithUrl is called.
- kRtePlayerStateOpenCompleted
- 2: Successfully opened URL resource. This state code is reported when OpenWithUrl successfully opens the URL resource.
- kRtePlayerStatePlaying
- 3: Currently playing.
- kRtePlayerStatePaused
- 4: Playback paused. This state code is reported when Pause is successfully called.
- kRtePlayerStatePlaybackCompleted
- 5: Playback completed. This state code is reported when the host ends the stream and exits the room.
- kRtePlayerStateStopped
- 6: Playback stopped. This state code is reported when Stop is successfully called.
- kRtePlayerStateFailed
- 7: Failed. This state code is reported when an internal error occurs. If you receive this state, you should first call Stop and then call OpenWithUrl to reopen the resource.