mute abstract method

Future<int> mute(
  1. bool mute
)

Mute or unmute the custom audio source.

Available since: 3.25.0 Description: Mute or unmute the audio data of the custom audio source. Use cases: Typically used in scenarios that require switching between different audio capture sources. When to call: After the custom audio source is created by createCustomAudioSource. Restrictions: None. Caution: ZegoCustomAudioSource can only be used as a mix source, not as the main capture source.

  • mute Whether to mute the custom audio source.
  • Returns The result of the API call.

Implementation

Future<int> mute(bool mute);