cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-1962) Video Capture not compressing video after capture; Camera use cancels idleTimerDisabled.
Date Wed, 05 Dec 2012 00:58:59 GMT


Shazron Abdullah commented on CB-1962:

This commit broke this:

The default was UIImagePickerControllerQualityTypeMedium, now it is UIImagePickerControllerQualityTypeHigh

I suppose we could support this in the CaptureVideoOptions.mode (not currently supported)
- but you can only set width and height as an option, and it doesn't really map to most iOS
video capture modes, so that won't really work:

The only other alternative is to set an iOS specific value in Cordova.plist/config.xml Project

As for the idleTimerDisabled stuff, this has nothing to do with the Cordova API I don't think
- in any case, that should be filed as a separate issue to be evaluated.
> Video Capture not compressing video after capture; Camera use cancels idleTimerDisabled.
> ----------------------------------------------------------------------------------------
>                 Key: CB-1962
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.2.0
>            Reporter: Paul R.
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: 2.1.0
> I have noticed the video capture option behaving differently in version 2.2.0. Captured
video is no longer compressed as it used to be in v2.1.0 - which is a good thing as we can
now have high quality video, but transferring an uncompressed video takes forever. Selecting
the captured video from the Camera Roll still compresses it before uploading. Is there an
undocumented compression function that has been added to the capture API in v2.2.0.
> Additionally, I used application.idleTimerDisabled = YES in my didFinishLaunchingWithOptions
routine in AppDelegate.m to keep the application from sleeping, but now using the camera resets
that when capture is finished, and my app now goes to sleep and times out during file transfer.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message