Package com.zego.zegoliveroom.constants
Class ZegoConstants.AudioDeviceMode
- java.lang.Object
-
- com.zego.zegoliveroom.constants.ZegoConstants.AudioDeviceMode
-
- Enclosing class:
- ZegoConstants
public static final class ZegoConstants.AudioDeviceMode extends java.lang.Object音频设备模式.
-
-
Field Summary
Fields Modifier and Type Field Description static intAuto自动模式, 根据场景选择是否开启系统前处理.static intCommunication通话模式, 开启系统前处理模式(包括回声消除、噪声抑制、音量增益).static intCommunication2通话模式, 开启系统前处理.static intCommunication3通话模式, 开启系统前处理.static intCommunication4通话模式,开启系统前处理。与 Communication 相比,该模式下麦后释放麦克风,维持通话音量static intGeneral普通模式, 始终关闭系统前处理.static intGeneral2关闭系统前处理,与 General 相比 该模式使用麦克风设备后不会释放static intGeneral3关闭系统前处理,与 General 相比,该模式会始终占用麦克风设备
-
Constructor Summary
Constructors Constructor Description AudioDeviceMode()
-
-
-
Field Detail
-
Communication
public static final int Communication
通话模式, 开启系统前处理模式(包括回声消除、噪声抑制、音量增益).- See Also:
- Constant Field Values
-
General
public static final int General
普通模式, 始终关闭系统前处理.- See Also:
- Constant Field Values
-
Auto
public static final int Auto
自动模式, 根据场景选择是否开启系统前处理.- See Also:
- Constant Field Values
-
Communication2
public static final int Communication2
通话模式, 开启系统前处理. 与 Communication 相比, 该模式会始终占用麦克风设备- See Also:
- Constant Field Values
-
Communication3
public static final int Communication3
通话模式, 开启系统前处理. 与 Communication 相比, 该模式下麦后释放麦克风,切回媒体音量- See Also:
- Constant Field Values
-
General2
public static final int General2
关闭系统前处理,与 General 相比 该模式使用麦克风设备后不会释放- See Also:
- Constant Field Values
-
General3
public static final int General3
关闭系统前处理,与 General 相比,该模式会始终占用麦克风设备- See Also:
- Constant Field Values
-
Communication4
public static final int Communication4
通话模式,开启系统前处理。与 Communication 相比,该模式下麦后释放麦克风,维持通话音量- See Also:
- Constant Field Values
-
-