RemoteAudioState

  • Flutter

更新时间不可用

远端音频流状态。

枚举值

参数名描述
remoteAudioStateStopped

0: 远端音频默认初始状态。在 remoteAudioReasonLocalMuted、remoteAudioReasonRemoteMuted 或 remoteAudioReasonRemoteOffline 的情况下,会报告该状态。

remoteAudioStateStarting

1: 本地用户已接收远端音频首包。

remoteAudioStateDecoding

2: 远端音频流正在解码,正常播放。在 remoteAudioReasonNetworkRecovery、remoteAudioReasonLocalUnmuted 或 remoteAudioReasonRemoteUnmuted 的情况下,会报告该状态。

remoteAudioStateFrozen

3: 远端音频流卡顿。在 remoteAudioReasonNetworkCongestion 的情况下,会报告该状态。

remoteAudioStateFailed

4: 远端音频流播放失败。在 remoteAudioReasonInternal 的情况下,会报告该状态。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?