AgoraAudioRemoteStateReason Constants Reference

Declared in AgoraEnumerates.h

AgoraAudioRemoteStateReason

The reason of the remote audio state change.

Constants

AgoraAudioRemoteReasonInternal

0: The SDK reports this reason when the audio state changes.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonNetworkCongestion

1: The remote user’s network is congested. If the network conditions are persistently poor, display a pop-up box in the application that says “The remote user’s network conditions are poor”.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonNetworkRecovery

2: The remote user’s network conditions are restored from congested to normal. You can display a pop-up box in the application that says “The remote user’s network conditions have improved”.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonLocalMuted

3: The local user stops receiving the remote audio stream or disables the audio module. You can display a pop-up box in the application that says “You have muted the remote user”.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonLocalUnmuted

4: The local user resumes receiving the remote audio stream or enables the audio module. You can display a pop-up box in the application that says “You have unmuted the remote user”.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonRemoteMuted

5: The remote user stops sending the audio stream or disables the audio module. You can use an icon in the list of users in the application user interface to show that the remote user is muted and display a pop-up box in the application that says “The remote user has muted themselves”.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonRemoteUnmuted

6: The remote user resumes sending the audio stream or enables the audio module. You can use an icon in the list of users in the application user interface to show that the remote user is unmuted and display a pop-up box in the application that says “The remote user has unmuted themselves”.

Declared In AgoraEnumerates.h.

AgoraAudioRemoteReasonRemoteOffline

7: The remote user leaves the channel. You can remove the remote user from the user list in the application user interface.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h