You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Android/APIExample/lib-player-helper/src/main/cpp/include/AgoraBase.h
+17-31Lines changed: 17 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ enum WARN_CODE_TYPE {
196
196
/** 1021: Audio device module: the audio capturing frequency is abnormal, which may cause audio freezes. This abnormality is caused by high CPU usage. Agora recommends stopping other apps.
197
197
*/
198
198
WARN_ADM_RECORD_MALFUNCTION = 1021,
199
-
/** 1025: The audio playback or capturing is interrupted by system events (such as a phone call).
199
+
/** 1025: The audio capture or playback is interrupted by a system call. If the audio capture or playback is required, remind your user to hang up the phone.
200
200
*/
201
201
WARN_ADM_CALL_INTERRUPTION = 1025,
202
202
/** 1029: During a call, the audio session category should be set to
@@ -212,7 +212,7 @@ enum WARN_CODE_TYPE {
212
212
/** 1032: Audio Device Module: The playback audio voice is too low.
213
213
*/
214
214
WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL = 1032,
215
-
/** 1033: Audio device module: The audio capturing device is occupied.
215
+
/** 1033: The local audio capture device is occupied by another application. Remind your user to leave the channel, stop the audio capture in another application, and rejoin the channel in sequence.
216
216
*/
217
217
WARN_ADM_RECORD_AUDIO_IS_ACTIVE = 1033,
218
218
/** 1040: Audio device module: An exception occurs with the audio drive.
@@ -239,7 +239,7 @@ enum WARN_CODE_TYPE {
239
239
/** 1054: Audio Processing Module: AI NS is closed, this can be triggered by manual settings or by performance detection modules.
240
240
*/
241
241
WARN_APM_AINS_CLOSED = 1054,
242
-
/// @cond
242
+
/// @cond nodoc
243
243
WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE = 1322,
244
244
/// @endcond
245
245
/** 1323: Audio device module: No available playback device.
@@ -262,7 +262,7 @@ enum WARN_CODE_TYPE {
262
262
/** 1612: The device does not support using super resolution.
/** **DEPRECATED** 119: Deprecated as of v3.6.1. Use CLIENT_ROLE_CHANGE_FAILED_REASON in the \ref agora::rtc::IRtcEngineEventHandler::onClientRoleChangeFailed "onClientRoleChangeFailed" callback instead.
402
-
* Switching roles fail. Please try to rejoin the channel.
401
+
/** 119: Switching roles fail. Please try to rejoin the channel.
403
402
*/
404
403
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED = 119,
405
404
/** 120: Decryption fails. The user may have used a different encryption password to join the channel. Check your settings or try rejoining the channel.
@@ -561,52 +560,39 @@ enum ERROR_CODE_TYPE {
561
560
* device.
562
561
*/
563
562
ERR_ADM_START_LOOPBACK = 1023,
564
-
/** 1027: Audio Device Module: No recording permission exists. Check if the
565
-
* recording permission is granted.
563
+
/** 1027: The application does not have permission to use the microphone. Remind your user to grant permission and rejoin the channel.
566
564
*/
567
565
ERR_ADM_NO_PERMISSION = 1027,
568
-
/** 1033: Audio device module: The device is occupied.
566
+
/** 1033: The local audio capture device is occupied by another application. Remind your user to leave the channel, stop the audio capture in another application, and rejoin the channel in sequence.
569
567
*/
570
568
ERR_ADM_RECORD_AUDIO_IS_ACTIVE = 1033,
571
569
/** 1101: Audio device module: A fatal exception occurs.
572
570
*/
573
571
ERR_ADM_ANDROID_JNI_JAVA_RESOURCE = 1101,
574
-
/** 1108: Audio device module: The capturing frequency is lower than 50.
575
-
* 0 indicates that the capturing is not yet started. We recommend
576
-
* checking your recording permission.
572
+
/** 1108: An exception occurred in the audio capture thread. Remind your user to rejoin the channel.
577
573
*/
578
574
ERR_ADM_ANDROID_JNI_NO_RECORD_FREQUENCY = 1108,
579
-
/** 1109: The playback frequency is lower than 50. 0 indicates that the
580
-
* playback is not yet started. We recommend checking if you have created
581
-
* too many AudioTrack instances.
575
+
/** 1109: An exception occurred in the audio playback thread. Remind your user to rejoin the channel.
582
576
*/
583
577
ERR_ADM_ANDROID_JNI_NO_PLAYBACK_FREQUENCY = 1109,
584
-
/** 1111: Audio device module: AudioRecord fails to start up. A ROM system
585
-
* error occurs. We recommend the following options to debug:
586
-
* - Restart your App.
587
-
* - Restart your cellphone.
588
-
* - Check your recording permission.
578
+
/** 1111: Failed to start the local audio capture. Remind your user to rejoin the channel.
589
579
*/
590
580
ERR_ADM_ANDROID_JNI_JAVA_START_RECORD = 1111,
591
-
/** 1112: Audio device module: AudioTrack fails to start up. A ROM system
592
-
* error occurs. We recommend the following options to debug:
593
-
* - Restart your App.
594
-
* - Restart your cellphone.
595
-
* - Check your playback permission.
581
+
/** 1112: Failed to start the local audio playback. Remind your user to rejoin the channel.
596
582
*/
597
583
ERR_ADM_ANDROID_JNI_JAVA_START_PLAYBACK = 1112,
598
584
/** 1115: Audio device module: AudioRecord returns error. The SDK will
599
585
* automatically restart AudioRecord. */
600
586
ERR_ADM_ANDROID_JNI_JAVA_RECORD_ERROR = 1115,
601
587
/** **DEPRECATED** */
602
588
ERR_ADM_ANDROID_OPENSL_CREATE_ENGINE = 1151,
603
-
/** **DEPRECATED***/
589
+
/** 1153: Failed to create Audio Recorder. Remind your user to rejoin the channel.*/
0 commit comments