[ 
https://issues.apache.org/jira/browse/CB-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511154#comment-13511154
 ] 

Shazron Abdullah commented on CB-1962:
--------------------------------------

Setting an iOS specific Project Setting will not work -- plugins should not 
have this as a dependency. We will have to work with the API and have 
"thresholds" for width and height that encapsulate the different quality 
settings. Not sure yet if that is the right approach, or will be downright 
confusing.

In any case, Capture is slated for API audit and is deprecated for the new 
getUserMedia stuff: http://www.w3.org/TR/media-capture-api/ (but that's 
probably months from now) so I don't know if this is worth the effort. 

The best course of action will be to revert 
https://github.com/apache/cordova-ios/commit/1c9ce2a038d234b47957287c4aac7217ec7ed243#CordovaLib/Classes/CDVCapture.m




                
> 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
>             Fix For: 2.3.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

Reply via email to