[ https://issues.apache.org/jira/browse/CB-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510188#comment-13510188 ]
Shazron Abdullah commented on CB-1962: -------------------------------------- This commit broke this: https://github.com/apache/cordova-ios/commit/1c9ce2a038d234b47957287c4aac7217ec7ed243#CordovaLib/Classes/CDVCapture.m 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: http://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/c/tdef/UIImagePickerControllerQualityType The only other alternative is to set an iOS specific value in Cordova.plist/config.xml Project Settings: http://docs.phonegap.com/en/2.2.0/guide_project-settings_ios_index.md.html#Project%20Settings%20for%20iOS 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: https://issues.apache.org/jira/browse/CB-1962 > 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: http://www.atlassian.com/software/jira