cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: Capture - specify video quality
Date Sat, 23 Mar 2013 00:41:02 GMT
I would map them.


On Fri, Mar 22, 2013 at 2:35 PM, Don Coleman <don.coleman@gmail.com> wrote:

> I'm looking at adding video quality to CaptureVideoOptions.
>
> Android has 2 options, iOS has 5.
>
> Should I attempt to map some generic high_quality, medium_quality,
> low_quality options to platform specific options or just pass in platform
> specific options?
>
> Android:
> EXTRA_VIDEO_QUALITY
>  0 low quality
>  1 high quality (default)
>
> iOS:
> enum {
>    UIImagePickerControllerQualityTypeHigh            = 0,
>    UIImagePickerControllerQualityTypeMedium          = 1,  // default value
>    UIImagePickerControllerQualityTypeLow             = 2,
>    UIImagePickerControllerQualityType640x480         = 3,
>    UIImagePickerControllerQualityTypeIFrame1280x720  = 4,
>    UIImagePickerControllerQualityTypeIFrame960x540   = 5
> };
> typedef NSUInteger UIImagePickerControllerQualityType;
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message