getBitrateIndex method
Get the index of the current bitrate setting
获得当前设置的码率序号
Implementation
Future<int> getBitrateIndex() async {
if (_isNeedDisposed) return -1;
await _initPlayer.future;
IntMsg intMsg = await _vodPlayerApi.getBitrateIndex(PlayerMsg()..playerId = _playerId);
return intMsg.value ?? -1;
}