WarningCode enum
Values
- WARNING_CODE_PUBLISH_STREAM_FAILED → const WarningCode
-
@brief Release audio & video stream failed. Returned by onVideoPublishStateChanged{@link #IRTCRoomEventHandler#onVideoPublishStateChanged}, onAudioPublishStateChanged{@link #IRTCRoomEventHandler#onAudioPublishStateChanged}.
When you publish audio & video streams in your room, the publication fails due to a server error. The SDK automatically retries the release. - WARNING_CODE_SUBSCRIBE_STREAM_FAILED404 → const WarningCode
-
@brief Subscription to audio & video stream failed. Returned by onVideoSubscribeStateChanged{@link #IRTCRoomEventHandler#onVideoSubscribeStateChanged}, onAudioSubscribeStateChanged{@link #IRTCRoomEventHandler#onAudioSubscribeStateChanged}.
The subscription failed because the audio & video stream for the subscription could not be found in the current room. The SDK will automatically retry the subscription. If the subscription fails, it is recommended that you exit the retry. - WARNING_CODE_SUBSCRIBE_STREAM_FAILED5XX → const WarningCode
-
@brief Subscription to audio & video stream failed. Returned by onVideoSubscribeStateChanged{@link #IRTCRoomEventHandler#onVideoSubscribeStateChanged}, onAudioSubscribeStateChanged{@link #IRTCRoomEventHandler#onAudioSubscribeStateChanged}.
When you subscribe to audio & video streams in your room, the subscription fails due to a server error. The SDK automatically retries the subscription. - WARNING_CODE_INVOKE_ERROR → const WarningCode
-
@hidden currently not available @brief The function call order is wrong.
- WARNING_CODE_INVALID_EXPECT_MEDIA_SERVER_ADDRESS → const WarningCode
-
@hidden for internal use only @brief Scheduling exception, the media server address returned by the server is unavailable.
- WARNING_CODE_PUBLISH_STREAM_FORBIDEN → const WarningCode
-
@brief This warning is triggered when a call to
setUserVisibilitysets its own visibility to false and then attempts to publish the flow. Returned by onVideoPublishStateChanged{@link #IRTCRoomEventHandler#onVideoPublishStateChanged}, onAudioPublishStateChanged{@link #IRTCRoomEventHandler#onAudioPublishStateChanged}. - WARNING_CODE_SEND_CUSTOM_MESSAGE → const WarningCode
-
@brief Sending a custom broadcast message failed, you are not currently in the room.
- WARNING_CODE_RECEIVE_USER_NOTIFY_STOP → const WarningCode
-
@brief When the number of people in the room exceeds 500, stop sending
onUserJoinedandonUserLeavecallbacks to existing users in the room, and prompt all users in the room via broadcast. Returned by onRoomStateChanged{@link #IRTCRoomEventHandler#onRoomStateChanged}. - WARNING_CODE_USER_IN_PUBLISH → const WarningCode
-
@brief User had published in other room. Returned by onVideoPublishStateChanged{@link #IRTCRoomEventHandler#onVideoPublishStateChanged}, onAudioPublishStateChanged{@link #IRTCRoomEventHandler#onAudioPublishStateChanged}.
- WARNING_CODE_IN_ECHO_TEST_MODE → const WarningCode
-
@brief this API has been banned for the engine is in echo testing mode.
- WARNING_CODE_NO_CAMERA_PERMISSION → const WarningCode
-
@brief The camera permission is abnormal, and the current application does not obtain the camera permission.
- WARNING_CODE_SET_SCREEN_AUDIO_SOURCE_TYPE_FAILED → const WarningCode
-
@brief Setting the screen audio capture type by calling setScreenAudioSourceType{@link #RTCEngine#setScreenAudioSourceType} after publishScreenAudio is not supported
- WARNING_CODE_SET_SCREEN_STREAM_INDEX_FAILED → const WarningCode
-
@brief After publishScreenAudio, calling setScreenAudioStreamIndex to set the screen audio share publication type is not supported
- WARNING_CODE_SET_SCREEN_STREAM_INVALID_VOICE_PITCH → const WarningCode
-
@brief Invalid pitch value setting
- WARNING_CODE_INVALID_CALL_FOR_EXT_AUDIO → const WarningCode
-
@brief Mixed use of old and new interfaces for external audio sources
- WARNING_CODE_INVALID_SAMI_APPKEY_OR_TOKEN → const WarningCode
-
@brief Authorization failure for BytePlus Audio SDK. Contact the technical supporters.
- WARNING_CODE_INVALID_RESOURCE_PATH → const WarningCode
-
@brief Failure to get the resource for BytePlus Audio SDK. Input the right DAT path or contact the technical supporters.
- WARNING_CODE_LOAD_SAMI_LIBRARY_FAILED → const WarningCode
-
@brief Failure to load the library for BytePlus Audio SDK. Use right library or contact the technical supporters.
- WARNING_CODE_INVALID_SAMI_EFFECT_TYPE → const WarningCode
-
@brief The audio effect is not supported by BytePlus Audio SDK. Contact the technical supporters.
- WARNING_CODE_GET_ROOM_FAILED → const WarningCode
-
@deprecated since 3.45 and will be deleted in 3.51. @brief Failed to get room information Warning @note SDK Failed to get room information (including timeout, returning an error code other than 200), try again every two seconds.
After 5 consecutive failures, report the warning and continue to try again.
Suggest to prompt the user: Failed to enter the room, please try again later - WARNING_CODE_SUBSCRIBE_STREAM_FORBIDEN → const WarningCode
-
@deprecated since 3.45 and will be deleted in 3.51. @brief When automatic subscription mode is not turned off, trying to turn on manual subscription mode will trigger this warning.
You need to turn off the automatic subscription mode before entering the room, and then manually subscribe to the audio & video stream. - WARNING_CODE_ROOM_ID_ALREADY_EXIST → const WarningCode
-
@deprecated since 3.45 and will be deleted in 3.51. @brief there is a room with the same roomId
- WARNING_CODE_NO_MICROPHONE_PERMISSION → const WarningCode
-
@brief The microphone permission is abnormal, and the current application does not obtain microphone permission. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceError{@link #MediaDeviceError}.MEDIA_DEVICE_ERROR_NOPERMISSION instead.
- WARNING_CODE_RECODING_DEVICE_START_FAILED → const WarningCode
-
@brief The audio capture device failed to start.
Failed to start the audio capture device, the current device may be occupied by other applications. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceError{@link #MediaDeviceError}.MEDIA_DEVICE_ERROR_DEVICEFAILURE instead. - WARNING_CODE_PLAYOUT_DEVICE_START_FAILED → const WarningCode
-
@brief Audio playback device startup failure warning.
It may be due to insufficient system resources or wrong parameters. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceError{@link #MediaDeviceError}.MEDIA_DEVICE_ERROR_DEVICEFAILURE instead. - WARNING_CODE_NO_RECORDING_DEVICE → const WarningCode
-
@brief No audio acquisition equipment available.
Failed to start the audio capture device, please insert the available audio capture device. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceError{@link #MediaDeviceError}.MEDIA_DEVICE_ERROR_DEVICENOTFOUND instead. - WARNING_CODE_NO_PLAYOUT_DEVICE → const WarningCode
-
@brief No audio playback device available.
Failed to start the audio playback device, please insert the available audio playback device. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceError{@link #MediaDeviceError}.MEDIA_DEVICE_ERROR_DEVICENOTFOUND instead. - WARNING_CODE_RECORDING_SILENCE → const WarningCode
-
@brief The current audio equipment has not collected valid sound data, please check and replace the audio acquisition equipment. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceWarning{@link #MediaDeviceWarning}.MEDIA_DEVICE_WARNING_CAPTURE_SILENCE instead.
- WARNING_CODE_MEDIA_DEVICE_OPERATION_DENIED → const WarningCode
-
@brief Warning on mishandling media devices.
When using custom acquisition, the internal acquisition switch cannot be called, and this warning will be triggered when called. @deprecated since 3.45 and will be deleted in 3.51, use MediaDeviceWarning{@link #MediaDeviceWarning}.MEDIA_DEVICE_WARNING_OPERATION_DENIED instead.
Properties
- $value → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
WarningCode> - A constant List of the values in this enum, in order of their declaration.