RemoteAudioState
RemoteAudioState
远端音频流状态。
枚举值
- remoteAudioStateStopped
- 0: 远端音频默认初始状态。在
remoteAudioReasonLocalMuted、remoteAudioReasonRemoteMuted或remoteAudioReasonRemoteOffline的情况下,会报告该状态。 - remoteAudioStateStarting
- 1: 本地用户已接收远端音频首包。
- remoteAudioStateDecoding
- 2: 远端音频流正在解码,正常播放。在
remoteAudioReasonNetworkRecovery、remoteAudioReasonLocalUnmuted或remoteAudioReasonRemoteUnmuted的情况下,会报告该状态。 - remoteAudioStateFrozen
- 3: 远端音频流卡顿。在
remoteAudioReasonNetworkCongestion的情况下,会报告该状态。 - remoteAudioStateFailed
- 4: 远端音频流播放失败。在
remoteAudioReasonInternal的情况下,会报告该状态。