setTrackParameters method

Future<void> setTrackParameters(
  1. int? width,
  2. int? height,
  3. int? bitrate
)

Sets the video track parameters of this

width specifies width of the selected track height specifies height of the selected track bitrate specifies bitrate of the selected track

Implementation

Future<void> setTrackParameters(int? width, int? height, int? bitrate) async {
  await _videoPlayerPlatform.setTrackParameters(
      _textureId, width, height, bitrate);
}