$createAudioEffectPlayer method
Implementation
Future $createAudioEffectPlayer() async {
if (Platform.isAndroid) {
$audio_effect_instance =
await ($instance as $a.RTCEngine).getAudioEffectPlayer();
} else if (Platform.isIOS) {
$audio_effect_instance =
await ($instance as $i.ByteRTCEngine).getAudioEffectPlayer();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}',
);
}
_audioEffectPlayer = AudioEffectPlayer();
}