setVideoEncoder method

Future<void> setVideoEncoder(
  1. int encoder
)

Sets the video encoder to be used for recording.

If this method is not called, the output file will not contain an video track. Call this after setOutputFormat and before prepare.

Implementation

Future<void> setVideoEncoder(int encoder) =>
    _channel.$setVideoEncoder(this, encoder);