enableAudioCapture abstract method

  1. @Deprecated('Deprecated since 3.23.0, please use the method with the same name with [config] parameter instead.')
Future<void> enableAudioCapture(
  1. bool enable,
  2. ZegoAudioFrameParam audioParam
)

Deprecated 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. setAudioSource Set the acquisition source to ZegoAudioSourceTypeCustom, and the screen acquisition and streaming channels are the same. Restrictions: Only applicable to Windows 10 and above versions.

@deprecated Deprecated since 3.23.0, please use the method with the same name with config parameter instead.

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

Implementation

@Deprecated(
    'Deprecated since 3.23.0, please use the method with the same name with [config] parameter instead.')
Future<void> enableAudioCapture(bool enable, ZegoAudioFrameParam audioParam);