VideoEncodingSettingsConfig constructor

const VideoEncodingSettingsConfig({
  1. required int maxBitrate,
  2. required double maxFramerate,
  3. required double scaleResolutionDownBy,
})

Implementation

const factory VideoEncodingSettingsConfig({
  /// Maximum bandwidth (bits/s) that the encoding is permitted to use for a track it encodes.
  required int maxBitrate,

  /// Maximum frame rate (frames/s) that can be used to send the encoded data.
  required double maxFramerate,

  /// Factor by which to scale down the track's frame resolution.
  required double scaleResolutionDownBy,
}) = _VideoEncodingSettingsConfig;