getAudioConfig function
Implementation
dynamic getAudioConfig({String? deviceId}) {
if (deviceId == null) return true;
if (kIsWeb) {
return {'deviceId': deviceId};
} else {
return {
'optional': [
{'sourceId': deviceId}
],
};
}
}