audioDeviceMode property
getter/setter pair
Set the audio device mode for the specified scene, the default is None. (only for iOS) Notes:
- Only works when the audio main source is always a microphone;
- Only works for
startScreenCaptureinterface,updateScreenCapturedoes not take effect; - The audio device mode changes during screen capture may cause the audio output of the screen capture to be abnormal, which can be monitored through
onMobileScreenCaptureExceptionOccurredcallback, and if necessary, the screen capture needs to be restarted.; - After the screen capture is stopped, the audio device mode before the screen capture will be restored.
Implementation
ZegoScreenCaptureAudioDeviceMode? audioDeviceMode;