AgoraAudioRemoteStateReason Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraAudioRemoteStateReason
远端音频流状态改变的具体原因
Definition
typedef NS_ENUM(NSUInteger, AgoraAudioRemoteStateReason ) {
AgoraAudioRemoteReasonInternal = 0,
AgoraAudioRemoteReasonNetworkCongestion = 1,
AgoraAudioRemoteReasonNetworkRecovery = 2,
AgoraAudioRemoteReasonLocalMuted = 3,
AgoraAudioRemoteReasonLocalUnmuted = 4,
AgoraAudioRemoteReasonRemoteMuted = 5,
AgoraAudioRemoteReasonRemoteUnmuted = 6,
AgoraAudioRemoteReasonRemoteOffline = 7,
};
Constants
AgoraAudioRemoteReasonInternal
-
0: 音频状态发生改变时,会报告该原因。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonNetworkCongestion
-
1: 远端用户的网络阻塞。如果网络状态持续不佳,请在应用中弹框显示“对方的网络状态不佳”。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonNetworkRecovery
-
2: 远端用户的网络恢复正常。请在应用中弹框显示“对方的网络状态恢复正常”。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonLocalMuted
-
3: 本地用户停止接收远端音频流或本地用户禁用音频模块。请在应用中弹框显示“你已静音对方”。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonLocalUnmuted
-
4: 本地用户恢复接收远端音频流或本地用户启用音频模块。请在应用中弹框显示“你已取消静音对方”。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonRemoteMuted
-
5: 远端用户停止发送音频流或远端用户禁用音频模块。请在应用界面的用户列表中用图标显示该远端用户已静音,并在应用中弹框显示“对方已静音自己”。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonRemoteUnmuted
-
6: 远端用户恢复发送音频流或远端用户启用音频模块。请在应用界面的用户列表中用图标显示该远端用户已取消静音,并在应用中弹框显示“对方已取消静音自己”。
Declared In
AgoraEnumerates.h
. AgoraAudioRemoteReasonRemoteOffline
-
7: 远端用户离开频道。请在应用界面的用户列表中移除该远端用户。
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h