VideoEncoderConfig constructor

VideoEncoderConfig({
  1. required String codec,
  2. required int width,
  3. required int height,
  4. int displayWidth,
  5. int displayHeight,
  6. int bitrate,
  7. num framerate,
  8. HardwareAcceleration hardwareAcceleration,
  9. AlphaOption alpha,
  10. String scalabilityMode,
  11. VideoEncoderBitrateMode bitrateMode,
  12. LatencyMode latencyMode,
  13. String contentHint,
  14. AvcEncoderConfig avc,
  15. HevcEncoderConfig hevc,
})

Implementation

external factory VideoEncoderConfig({
  required String codec,
  required int width,
  required int height,
  int displayWidth,
  int displayHeight,
  int bitrate,
  num framerate,
  HardwareAcceleration hardwareAcceleration,
  AlphaOption alpha,
  String scalabilityMode,
  VideoEncoderBitrateMode bitrateMode,
  LatencyMode latencyMode,
  String contentHint,
  AvcEncoderConfig avc,
  HevcEncoderConfig hevc,
});