AdvanceOptions

Advanced options for video encoding.

class AdvanceOptions {
  const AdvanceOptions({this.encodingPreference, this.compressionPreference});

  @JsonKey(name: 'encodingPreference')
  final EncodingPreference? encodingPreference;

  @JsonKey(name: 'compressionPreference')
  final CompressionPreference? compressionPreference;

  factory AdvanceOptions.fromJson(Map<String, dynamic> json) =>
      _$AdvanceOptionsFromJson(json);

  Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this);
}

Attributes

encodingPreference
Video encoder preference. See EncodingPreference.
compressionPreference
Compression preference for video encoding. See CompressionPreference.