Skip to content

[image_picker] [iOS] Add optional video quality parameter for pickVideo #179940

@MarkSpit

Description

@MarkSpit

Use case

Currently, pickVideo on iOS always uses UIImagePickerControllerQualityTypeHigh, with no way to choose a lower quality. This is restrictive for apps that want to control file size or reduce resource usage, like messaging apps or apps that process many videos.

Proposal

Add an optional quality parameter to pickVideo:

pickVideo(
  source: ImageSource.camera, 
  quality: VideoQuality.medium, // options: low, medium, high
)
  • Keeps the default behavior as UIImagePickerControllerQualityTypeHigh for backward compatibility.
  • Lets developers select lower quality without modifying the plugin or using method swizzling.
  • Provides flexibility for apps that need smaller file sizes or faster uploads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions