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