enableAudioCapture abstract method
- @Deprecated('Deprecated since 3.23.0, please use the method with the same name with [config] parameter instead.')
- bool enable,
- 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.
enableWhether to collect sound. true for collection, false for no collection, default false.audioParamAudio 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);