getSupportedBitrates method

Future<List?> getSupportedBitrates()

Get the bitrate information extracted from the playing video. Each bitrate item contains: index: bitrate index width: video width of this bitrate height: video height of this bitrate bitrate: bitrate value

Implementation

Future<List?> getSupportedBitrates() async {
  if (_isNeedDisposed) return [];
  await _initPlayer.future;
  final result = await _mc!.invokeList('getSupportedBitrate');
  return result;
}