enableAudioCapture abstract method

Future<void> enableAudioCapture(
  1. bool enable,
  2. ZegoAudioFrameParam audioParam
)

Whether to collect the sound of the window process during window collection

Available since: 3.13.0 Description: Whether to collect the sound of the window process during window collection. When to call: Before starting the collection startScreencapture. Restrictions: Only applicable to Windows 10 and above versions.

  • enable Whether to collect sound. true for collection, false for no collection, default false.
  • audioParam Audio collection parameters.

Implementation

Future<void> enableAudioCapture(bool enable, ZegoAudioFrameParam audioParam);