ZegoAudioDeviceMode Constants Reference
Declared in | ZegoExpressDefines.h |
---|
ZegoAudioDeviceMode
Audio device mode.
Definition
typedef NS_ENUM(NSUInteger, ZegoAudioDeviceMode ) {
ZegoAudioDeviceModeCommunication = 1,
ZegoAudioDeviceModeGeneral = 2,
ZegoAudioDeviceModeAuto = 3,
ZegoAudioDeviceModeCommunication2 = 4,
ZegoAudioDeviceModeCommunication3 = 5,
ZegoAudioDeviceModeGeneral2 = 6,
ZegoAudioDeviceModeGeneral3 = 7,
ZegoAudioDeviceModeCommunication4 = 8,
};
Constants
ZegoAudioDeviceModeCommunication
-
Enable system echo cancellation.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeGeneral
-
The system echo cancellation function is disabled.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeAuto
-
Automatically select whether to enable system echo cancellation based on the scenario.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeCommunication2
-
Enable system echo cancellation. Compared with Communication, this mode always occupies the microphone device.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeCommunication3
-
Enable system echo cancellation. Compared with Communication, in this mode, the microphone is released and the media volume is reduced.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeGeneral2
-
Disable system echo cancellation. Compared with General, this mode is not released when a microphone device is used.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeGeneral3
-
Disable system echo cancellation. Compared with General, this mode will always occupy the microphone device.
Declared In
ZegoExpressDefines.h
. ZegoAudioDeviceModeCommunication4
-
Enable system echo cancellation. Compared with Communication, this mode of wheat after releasing the microphone, maintain the call volume.
Declared In
ZegoExpressDefines.h
.
Declared In
ZegoExpressDefines.h