MediaDeviceWarning enum

{zh} * @detail keytype @brief 媒体设备警告

Inheritance
Available extensions

Values

MEDIA_DEVICE_WARNING_OK → const MediaDeviceWarning

@platform android @brief No warning

MEDIA_DEVICE_WARNING_OPERATION_DENIED → const MediaDeviceWarning

@platform android @brief Illegal device operation. Calls the API for internal device when using the external device.

MEDIA_DEVICE_WARNING_CAPTURE_SILENCE → const MediaDeviceWarning

@platform android @brief The media device is capturing silent frames.

MEDIA_DEVICE_WARNING_ANDROID_SYS_SILENCE → const MediaDeviceWarning

@platform android @brief Silence warning by Android system.

MEDIA_DEVICE_WARNING_ANDROID_SYS_SILENCE_DISAPPEAR → const MediaDeviceWarning

@platform android @brief Silence disappearing warning by Android system.

MEDIA_DEVICE_WARNING_DETECT_CLIPPING → const MediaDeviceWarning

@platform android @hidden for internal use only @brief The volume is too loud and exceeds the acquisition range of the device. Lower the microphone volume or lower the volume of the audio source.

MEDIA_DEVICE_WARNING_DETECT_LEAK_ECHO → const MediaDeviceWarning

@platform android @brief Echos between mics and speakers are detected during a call.
onAudioDeviceWarning notifies you with this enum of echo issue. During a call, SDK will detect echo issue only when ChannelProfile{@link #ChannelProfile} is set to CHANNEL_PROFIEL_MEETING or CHANNEL_PROFILE_MEETING_ROOM and AEC is disabled.

MEDIA_DEVICE_WARNING_DETECT_LOW_SNR → const MediaDeviceWarning

@platform android @hidden for internal use only @brief Low SNR.

MEDIA_DEVICE_WARNING_DETECT_INSERT_SILENCE → const MediaDeviceWarning

@platform android @hidden for internal use only @brief Silence inserted during capture.

MEDIA_DEVICE_WARNING_CAPTURE_DETECT_SILENCE → const MediaDeviceWarning

@platform android @hidden for internal use only @brief Silence during capture.

MEDIA_DEVICE_WARNING_CAPTURE_DETECT_SILENCE_DISAPPEAR → const MediaDeviceWarning

@platform android @hidden for internal use only @brief Silence disappears during capture.

MEDIA_DEVICE_WARNING_CAPTURE_DETECT_HOWLING → const MediaDeviceWarning

@platform android @brief Howling detected.
You will receive this callback in the following scenarios:
- Howling is detected under the room profiles that do not support howling suppression; - Detect howling that is not suppressed under the room profiles that support howling suppression. You can only enable howling suppression when the room profile is CHANNEL_PROFILE_COMMUNICATION(0), CHANNEL_PROFIEL_MEETING(16), or CHANNEL_PROFILE_MEETING_ROOM(17).
We recommend that you remind your users to adjust the physical distance between two devices or disable all unused devices except the connecting one.

MEDIA_DEVICE_WARNING_SET_AUDIO_ROUTE_INVALID_SCENARIO → const MediaDeviceWarning

@platform android @brief Setting audio route failed because the audio route can not be changed in the current Audio Scenario.

MEDIA_DEVICE_WARNING_SET_AUDIO_ROUTE_NOT_EXISTS → const MediaDeviceWarning

@platform android @brief Setting audio route failed because the routing device did not exist.

MEDIA_DEVICE_WARNING_SET_AUDIO_ROUTE_FAILED_BY_PRIORITY → const MediaDeviceWarning

@platform android @brief Setting audio route failed because the audio route was occupied by the system or the other Apps.

MEDIA_DEVICE_WARNING_SET_AUDIO_ROUTE_NOT_VOIP_MODE → const MediaDeviceWarning

@platform android @brief Setting audio route failed because the audio route can only be changed in AUDIO_SCENARIO_COMMUNICATION(2) mode.

MEDIA_DEVICE_WARNING_SET_AUDIO_ROUTE_DEVICE_NOT_START → const MediaDeviceWarning

@platform android @brief Setting audio route failed because the audio route did not initiate.

ByteRTCMediaDeviceWarningOK → const MediaDeviceWarning

@platform ios @brief No warning

ByteRTCMediaDeviceWarningOperationDenied → const MediaDeviceWarning

@platform ios @brief Illegal device operation. Calls the API for internal device when using the external device.

ByteRTCMediaDeviceWarningCaptureSilence → const MediaDeviceWarning

@platform ios @brief The media device is capturing silent frames.

ByteRTCMediaDeviceWarningDetectClipping → const MediaDeviceWarning

@platform ios @hidden for internal use only @brief The volume is too loud and exceeds the acquisition range of the device. Lower the microphone volume or lower the volume of the audio source.

ByteRTCMediaDeviceWarningDetectLeakEcho → const MediaDeviceWarning

@platform ios @brief Echos between mics and speakers are detected during a call.
rtcEngine:onAudioDeviceWarning:deviceType:deviceWarning: notifies you with this enum of echo issue. During a call, SDK will detect echo issue only when ByteRTCRoomProfile{@link #ByteRTCRoomProfile} is set to ByteRTCRoomProfileMeeting or ByteRTCRoomProfileMeetingRoom and AEC is disabled.

ByteRTCMediaDeviceWarningDetectLowSNR → const MediaDeviceWarning

@platform ios @hidden for internal use only @brief Low SNR.

ByteRTCMediaDeviceWarningDetectInsertSilence → const MediaDeviceWarning

@platform ios @hidden for internal use only @brief Silence inserted during capture.

ByteRTCMediaDeviceWarningCaptureDetectSilence → const MediaDeviceWarning

@platform ios @hidden for internal use only @brief Silence during capture.

ByteRTCMediaDeviceWarningCaptureDetectSilenceDisappear → const MediaDeviceWarning

@platform ios @hidden for internal use only @brief Silence disappears during capture.

ByteRTCMediaDeviceWarningCaptureDetectHowling → const MediaDeviceWarning

@platform ios @brief Howling detected.
You will receive this callback in the following scenarios: 1) Howling is detected under the room profiles that do not support howling suppression; 2) Detect howling that is not suppressed under the room profiles that support howling suppression.
You can only enable howling suppression by calling calling joinRoom:userInfo:userVisibility:roomConfig:{@link #ByteRTCRoom#joinRoom:userInfo:userVisibility:roomConfig} to set your room profile as ByteRTCRoomProfileCommunication, ByteRTCRoomProfileMeeting, and ByteRTCRoomProfileMeetingRoom.
We recommend that you remind your users to adjust the physical distance between two devices or disable all unused devices except the connecting one.

ByteRTCMediaDeviceWarningSetAudioRouteInvalidScenario → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief Setting audio route failed because the audio route can not be changed in the current Audio Scenario.

ByteRTCMediaDeviceWarningSetAudioRouteNotExists → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief Setting audio route failed because the routing device did not exist.

ByteRTCMediaDeviceWarningSetAudioRouteFailedByPriority → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief Setting audio route failed because the audio route was occupied by the system or the other Apps.

ByteRTCMediaDeviceWarningSetAudioRouteNotVoipMode → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief Setting audio route failed because the audio route can only be changed in ByteRTCAudioScenarioCommunication mode.

ByteRTCMediaDeviceWarningSetAudioRouteDeviceNotStart → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief Setting audio route failed because the audio route did not initiate.

ByteRTCMediaDeviceWarningSetBluetoothModeScenarioUnsupport → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief The media volume is not set in all scenarios. You cannot change the Bluetooth profile until you set the media volume in all scenarios.

ByteRTCMediaDeviceWarningSetBluetoothModeUnsupport → const MediaDeviceWarning

@platform ios @hidden(macOS) @brief You cannot change the Bluetooth profile to HFP.

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<MediaDeviceWarning>
A constant List of the values in this enum, in order of their declaration.