enableAudioCaptureWithConfig abstract method
- bool enable,
- {ZegoScreenCaptureAudioConfig? config}
Set whether to collect sound
Available since: 3.23.0
Description: Set whether to collect sound.
When to call: At any time, it takes effect after starting screen capture. setAudioSource Set the acquisition source to ZegoAudioSourceTypeScreenCapture, and the screen acquisition and streaming channels are the same.
Restrictions: Only applicable to Windows 8 and above versions.
enableWhether to collect sound. true for collection, false for no collection, default false.configAudio collection parameters.
Implementation
Future<void> enableAudioCaptureWithConfig(bool enable,
{ZegoScreenCaptureAudioConfig? config});