switchHlsAudioRendition method
Switching audio tracks during HLS playback, if the passed audioInfoId does not exist, do not switch.
Implementation
Future<void> switchHlsAudioRendition({required auidoInfoId}) async {
if (auidoInfoId <= 0) {
return;
}
await engineInstanceMethodChannel.invokeMethod('switchHlsAudioRendition', auidoInfoId);
}