setVideoEncodingBitRate method

Future<void> setVideoEncodingBitRate(
  1. int bitRate
)

Sets the video encoding bit rate for recording in bits per seconds.

Call this method before prepare. prepare may perform additional checks on the parameter to make sure whether the specified bit rate is applicable, and sometimes the passed bitRate will be clipped internally to ensure the video recording can proceed smoothly based on the capabilities of the platform.

Implementation

Future<void> setVideoEncodingBitRate(int bitRate) {
  return _channel.$setVideoEncodingBitRate(this, bitRate);
}