Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration RemoteAudioState

State of the remote audio stream.

  • 0: The remote audio is in the default state.
  • 1: The first remote audio packet is received.
  • 2: The remote audio stream is decoded and plays normally.
  • 3: The remote audio is frozen.
  • 4: The remote audio fails to start.

Index

Enumeration members

REMOTE_AUDIO_STATE_DECODING

REMOTE_AUDIO_STATE_DECODING: = 2

2: The remote audio stream is decoded and plays normally, probably due to #REMOTE_AUDIO_REASON_NETWORK_RECOVERY (2), #REMOTE_AUDIO_REASON_LOCAL_UNMUTED (4), or #REMOTE_AUDIO_REASON_REMOTE_UNMUTED (6).

REMOTE_AUDIO_STATE_FAILED

REMOTE_AUDIO_STATE_FAILED: = 4

4: The remote audio fails to start, probably due to #REMOTE_AUDIO_REASON_INTERNAL (0).

REMOTE_AUDIO_STATE_FROZEN

REMOTE_AUDIO_STATE_FROZEN: = 3

3: The remote audio is frozen, probably due to #REMOTE_AUDIO_REASON_NETWORK_CONGESTION (1).

REMOTE_AUDIO_STATE_STARTING

REMOTE_AUDIO_STATE_STARTING: = 1

1: The first remote audio packet is received.

REMOTE_AUDIO_STATE_STOPPED

REMOTE_AUDIO_STATE_STOPPED: = 0

0: The remote audio is in the default state, probably due to #REMOTE_AUDIO_REASON_LOCAL_MUTED (3), #REMOTE_AUDIO_REASON_REMOTE_MUTED (5), or #REMOTE_AUDIO_REASON_REMOTE_OFFLINE (7).