destroyCustomAudioSource method
Destroy custom audio source instance.
Available since: 3.25.0 Description: Destroy custom audio source instance. Use cases: Typically used to destroy a custom audio mix source instance. When to call: After the engine is created createEngine. Restrictions: None. Caution: ZegoCustomAudioSource can only be used as a mix source, not as the main capture source.
sourceCustom audio source instance.
Implementation
Future<void> destroyCustomAudioSource(ZegoCustomAudioSource source) async {
return await ZegoExpressImpl.instance.destroyCustomAudioSource(source);
}