setOutputFormat method

Future<void> setOutputFormat(
  1. int format
)

Sets the format of the output file produced during recording. Call this after setAudioSource/setVideoSource but before prepare.

It is recommended to always use 3GP format when using the H.263 video encoder and AMR audio encoder. Using an MPEG-4 container format may confuse some desktop players.

Implementation

Future<void> setOutputFormat(int format) =>
    _channel.$setOutputFormat(this, format);