availableVideoCodecTypes method
The video codec types currently supported for recording movie files.
The first codec in this list is the default for recording movie files. To
record using a different codec, call the setOutputSettings
method,
passing a video settings dictionary with a value for
VideoSettingsKeys.videoCodec that matches one of the other values in
this list.
Implementation
Future<List<String>> availableVideoCodecTypes() async {
final List<Object?> codecTypes =
await _channel.$availableVideoCodecTypes(this) as List<Object?>;
return codecTypes.cast<String>();
}