getSupportedBitrates method
get the bitrate information extracted from playing a video Bitrate:index:bitrate index, width:the video with of this bitrate, height:the video height of this bitrate, bitrate:bitrate value
获得播放视频解析出来的码率信息 return List
Implementation
Future<List?> getSupportedBitrates() async {
if (_isNeedDisposed) return [];
await _initPlayer.future;
ListMsg listMsg = await _vodPlayerApi.getSupportedBitrate(PlayerMsg()..playerId = _playerId);
return listMsg.value;
}