getAudioDeviceManager method
获取音频设备管理器
Implementation
@override
Future<AudioDeviceManager?> getAudioDeviceManager() async {
if (Platform.isAndroid) {
$audio_device_manager_instance =
await ($instance as $a.RTCEngine).getAudioDeviceManager();
} else if (Platform.isIOS) {
$audio_device_manager_instance =
await ($instance as $i.ByteRTCEngine).getAudioDeviceManager();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}',
);
}
return AudioDeviceManager();
}