cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (Akvelon)" <>
Subject RE: [DISCUSS] cordova-plugin-media-capture video quality
Date Tue, 02 Aug 2016 06:29:26 GMT
I think I like option 2 more than others, assuming that we also accept values between 0 and
1 as a medium quality. Then it won't break existing behavior on Android and would allow to
specify all supported quality modes on iOS.


-----Original Message-----
From: julio cesar sanchez [] 
Sent: Tuesday, August 2, 2016 1:43 AM
Subject: [DISCUSS] cordova-plugin-media-capture video quality

The cordova-plugin-media-capture allows a quality property on Android that accepts two values:
0 - low quality
1 - high quality (default)

Those are the only values android allows

iOS doesn't support quality, but there is an issue open to add that property (

Right now iOS uses medium quality.

We have 3 PRs open to add the quality property and each of them is different.

Proposes this:
0-32: UIImagePickerControllerQualityTypeLow
33-65: UIImagePickerControllerQualityTypeMedium
66-100: UIImagePickerControllerQualityTypeHigh

Proposes this:
0 - low quality
1 - high quality
It will work the same way android does, but will change the current behaviour as we use medium
quality now

Proposes this:
0 - medium quality (default)
1 - high quality

I think we shouldn't have the quality property as it is supposed to follow the w3c and there
is no quality on the w3C api. But as we already added it for android I think we can add it
for iOS too.

On PR 3 there are some comments with other proposals (one of them is mine)

So, what do you think? Do you like any of the proposals? do you have other ideas?
View raw message