Skip to main content
Known Participant
June 7, 2016
Question

AIR for iOS extend CameraUI video capture duration more than 10 minutes

  • June 7, 2016
  • 1 reply
  • 1062 views

Hi,

I have not been able to find any answer for this issue, so I am posting again hoping to get some insights/advice.

I am creating AIR for iOS iPad app, and use CameraUI to capture videos and save locally and upload to the server. All work very well, except the Native Camera stops the video recording at 10 minutes (see image).

We tested the video recording directly from the iPad and there is no limit on video duration as long as there is enough storage space, so we believe this issue is from Adobe AIR.

This issue has been going on since previous iOS and AIR versions. Now we have the need to record longer videos so we are re-investigating this issue again.

Can someone advice with any solution on this issue? Or any insights why this is happening?

Thank you very much.

This topic has been closed for replies.

1 reply

yufuairAuthor
Known Participant
June 7, 2017

Does anyone have any experience or solution on the 10-minute video recording limit via Adobe AIR for iOS?

marchbold
Inspiring
June 7, 2017

Hi,

This is the default for iOS image picker. In order to adjust it you'll need to use a native extension to launch the picker and set the videoMaximumDuration property on the picker.

You can do this, for example, with our Camera UI ANE (https://airnativeextensions.com/extension/com.distriqt.CameraUI​)

var options:CameraUIOptions = new CameraUIOptions();

options.videoMaximumDuration = 300; // 5 mins

CameraUI.service.launch( MediaType.VIDEO, options );

ASdocs

air native extensions // https://airnativeextensions.com
Inspiring
June 8, 2017

I got a question on your ANE. I want to launch the camera ui and auto start recording video without user needing to tap the red record button. Can your ANE allow for that.