RemoteVideoState
RemoteVideoState
远端视频流状态。
枚举值
- remoteVideoStateStopped
- 0: 远端视频默认初始状态。在 remoteVideoStateReasonLocalMuted、remoteVideoStateReasonRemoteMuted 或 remoteVideoStateReasonRemoteOffline 的情况下,会报告该状态。
- remoteVideoStateStarting
- 1: 本地用户已接收远端视频首包。
- remoteVideoStateDecoding
- 2: 远端视频流正在解码,正常播放。在 remoteVideoStateReasonNetworkRecovery、remoteVideoStateReasonLocalUnmuted、remoteVideoStateReasonRemoteUnmuted 或 remoteVideoStateReasonAudioFallbackRecovery 的情况下,会报告该状态。
- remoteVideoStateFrozen
- 3: 远端视频流卡顿。在 remoteVideoStateReasonNetworkCongestion 或 remoteVideoStateReasonAudioFallback 的情况下,会报告该状态。
- remoteVideoStateFailed
- 4: 远端视频流播放失败。在 remoteVideoStateReasonInternal 的情况下,会报告该状态。