getBitrateIndex method
Get the index of the current bitrate setting.
Implementation
Future<int> getBitrateIndex() async {
if (_isNeedDisposed) return -1;
await _initPlayer.future;
final result = await _mc!.invoke<int>('getBitrateIndex');
return result ?? -1;
}