MediaDeviceWarning enum

媒体设备警告

Inheritance

Constructors

MediaDeviceWarning()
const

Values

ok → const MediaDeviceWarning

无警告

operationDenied → const MediaDeviceWarning

非法设备操作

在使用外部设备时,调用了 SDK 内部设备 API。

captureSilence → const MediaDeviceWarning

采集到的数据为静音帧

androidSysSilence → const MediaDeviceWarning

Android 特有的静音,系统层面的静音上报

androidSysSilenceDisappear → const MediaDeviceWarning

Android 特有的静音消失

detectLeakEcho → const MediaDeviceWarning

回声泄漏

会议场景适用。

captureDetectHowling → const MediaDeviceWarning

啸叫

触发该警告的情况如下:

  • 不支持啸叫抑制的房间模式下,检测到啸叫;
  • 支持啸叫抑制的房间模式下,检测到未被抑制的啸叫。

仅 Communication、Meeting、MeetingRoom 三种房间模式支持啸叫抑制。
建议提醒用户检查客户端的距离或将麦克风和扬声器调至静音。

setAudioRouteInvalidScenario → const MediaDeviceWarning

当前 AudioScenario 不支持更改音频路由,设置音频路由失败

setAudioRouteNotExists → const MediaDeviceWarning

音频设备不存在,设置音频路由失败

Android 适用。

setAudioRouteFailedByPriority → const MediaDeviceWarning

音频路由被系统或其他应用占用,设置音频路由失败

setAudioRouteNotVoipMode → const MediaDeviceWarning

当前非通话模式,不支持设置音频路由

Android 适用

setAudioRouteDeviceNotStart → const MediaDeviceWarning

音频设备未启动,设置音频路由失败

setBluetoothModeScenarioUnsupport → const MediaDeviceWarning

非纯媒体音频场景,此时不支持切换蓝牙传输协议。待切换至纯媒体音频场景后生效

setBluetoothModeUnsupport → const MediaDeviceWarning

当前不支持设置 HFP

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.