WarningCode enum

{zh} * @detail errorcode @brief 回调警告码。
警告码说明 SDK 内部遇到问题正在尝试恢复。警告码仅作通知。

Inheritance
Available extensions

Values

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.

subscribe_stream_failed_404 → 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.

subscribe_stream_failed_5xx → 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.

publish_stream_forbidden → const WarningCode

@platform android @brief This warning is triggered when a call to setUserVisibility sets its own visibility to false and then attempts to publish the flow. Returned by onVideoPublishStateChanged{@link #IRTCRoomEventHandler#onVideoPublishStateChanged}, onAudioPublishStateChanged{@link #IRTCRoomEventHandler#onAudioPublishStateChanged}.

send_custom_message → const WarningCode

@brief Sending a custom broadcast message failed, you are not currently in the room.

receive_user_notify_stop → const WarningCode

@brief When the number of people in the room exceeds 500, stop sending onUserJoined and onUserLeave callbacks to existing users in the room, and prompt all users in the room via broadcast. Returned by onRoomStateChanged{@link #IRTCRoomEventHandler#onRoomStateChanged}.

user_in_publish → const WarningCode

@brief User had published in other room. Returned by onVideoPublishStateChanged{@link #IRTCRoomEventHandler#onVideoPublishStateChanged}, onAudioPublishStateChanged{@link #IRTCRoomEventHandler#onAudioPublishStateChanged}.

invalid_canvas_handle → const WarningCode

@platform ios @brief The specified internal rendering canvas handle is invalid.
An invalid canvas handle is specified when you call setLocalVideoCanvas:{@link #ByteRTCEngine#setLocalVideoCanvas} or setRemoteVideoCanvas:withCanvas:{@link #ByteRTCEngine#setRemoteVideoCanvas:withCanvas}, triggering this callback.

no_camera_permission → const WarningCode

@brief The camera permission is abnormal, and the current application does not obtain the camera permission.

invalid_sami_app_key_or_token → const WarningCode

@brief Authorization failure for BytePlus Audio SDK. Contact the technical supporters.

invalid_sami_resource_path → const WarningCode

@brief Failure to get the resource for BytePlus Audio SDK. Input the right DAT path or contact the technical supporters.

load_sami_library_failed → const WarningCode

@brief Failure to load the library for BytePlus Audio SDK. Use right library or contact the technical supporters.

invalid_sami_effect_type → const WarningCode

@brief The audio effect is not supported by BytePlus Audio SDK. Contact the technical supporters.

in_echo_test_mode → const WarningCode

@brief this API has been banned for the engine is in echo testing mode.

ios_room_already_exist → const WarningCode

@platform ios @deprecated since 3.45 and will be deleted in 3.51. @brief there is a room with the same roomId

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.

audio_device_manager_recording_start_fail → 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.

audio_device_manager_playout_start_fail → 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.

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.

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.

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.

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

set_screen_audio_stream_index_failed → const WarningCode

@brief After publishScreenAudio, calling setScreenAudioStreamIndex to set the screen audio share publication type is not supported

invalid_voice_pitch → const WarningCode

@brief Invalid pitch value setting

invalid_call_for_ext_audio → const WarningCode

@brief Mixed use of old and new interfaces for external audio sources

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.

WARNING_CODE_INVOKE_ERROR → const WarningCode

@platform android @hidden currently not available @brief The function call order is wrong.

WARNING_CODE_INVALID_EXPECT_MEDIA_SERVER_ADDRESS → const WarningCode

@platform android @hidden for internal use only @brief Scheduling exception, the media server address returned by the server is unavailable.

WARNING_CODE_GET_ROOM_FAILED → const WarningCode

@platform android @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

@platform android @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

@platform android @deprecated since 3.45 and will be deleted in 3.51. @brief there is a room with the same roomId

ByteRTCWarningCodeInvokeError → const WarningCode

@platform ios @hidden currently not available @brief Function call order is wrong and is not used in the current code.

ByteRTCWarningCodeInvalidExpectMediaServerAddress → const WarningCode

@platform ios @hidden for internal use only @brief Scheduling exception, the media server address returned by the server is unavailable.

ByteRTCWarningCodePublishStreamForbidden → const WarningCode

@platform ios @brief This warning is triggered when you call setUserVisibility:to set yourself invisible to others before attempting to publish the flow. Receive message via rtcRoom:onUserPublishStreamVideo:info:isPublish:{@link #ByteRTCRoomDelegate#rtcRoom:onUserPublishStreamVideo:info:isPublish}, rtcRoom:onUserPublishStreamAudio:info:isPublish:{@link #ByteRTCRoomDelegate#rtcRoom:onUserPublishStreamAudio:info:isPublish}.

ByteRTCWarningCodeSubscribeStreamForbiden → const WarningCode

@platform ios @deprecated since 3.45 and will be deleted in 3.51. @hidden @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 call the subscribeStreamVideo:subscribe:{@link #ByteRTCRoom#subscribeStreamVideo:subscribe}/subscribeStreamAudio:subscribe:{@link #ByteRTCRoom#subscribeStreamAudio:subscribe} method to manually subscribe to the audio & video stream.

unknown → const WarningCode

@platform ios

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.