Capturing Video on Mobile device using Adobe AIR - ios

I am tasked with creating a video recording app for mobile devices (iPhone, iPad, Android) where the users are asked to record a short clip using their phones/tablets.
The video is then uploded to a server (either within the same app or a secondary app/site or via email)
Is it possible for an AIR app to record and save quality video and audio to the camera roll/gallery, or alternatively open the built-in video recorder app from the AIR app?
I am stuck between attempting this using Flash CS5.5 and deploy to iOS and Android using one code base, or building native apps and possibly duplicating my workload.
If I attempt the AIR route, will I hit problems with quality/resolution/usability etc? Or should I stick to building a native app? Time is of the essence too :)
I've done lots of research and not really found anything to swing my decision.
Thank in advance.
P

Related

DLNA support for iOS video app

I am developing an video player app on iOS and I am now thinking about how to support DLNA so that my app can mirror its online video to the TV with some DLNA-supported device.
Notice that the online video is playing on my app via WIFI or cellular network and I could switch it to be played on TV and my app becomes a remote control and a server to the TV.
Which framework should I use?
I already know Cyberlink and PlatinumKit.
I have worked on DLNA with iOS and Android device. I did not used the Cyberlink or PlatinumKit. I learned how it works and write with swift and java.
Here is my blog about the subject, if you only want the part of DLNA to find DLNA device and stream the video to the device, then control events like play, pause and seek. You could find all the material you need here.
https://eliyar.biz/DLNA_with_iOS_Android/

Do I use AIR or native code for iOS application?

I have been using Flex for desktop development for years. I'm new to mobile development and need to create an app for the iPhone 6 but have no idea whether I should be using Flex/AIR or native code.
The requirements of the iOS app is as follows:
Record video to local storage within app
Playback video from local storage within app
Pause/seek video within app
Overlay controls on top of the video such as TextInput, TextArea and DropDownList so user can make notes as video is being recorded
Data entered via TextInput/TextArea/DropDownList is saved to local storage
Option to upload video and text data to local server
Can I achieve all of this using AIR or should I be using native code?
Can I achieve all of this using AIR?
Yes. Use CameraUI to capture video on the device (using the device's native camera UI), and StageVideo to play the video (using GPU). Overlay your app UIs (Flex or your own) to control video playback. Save local data using File or EncryptedLocalStore or SharedObject. Upload to a server using File/upload().
Or should I be using native code?
That's up to you. There are trade-offs, and everyone will have their own opinion. If you have a lot of experience with Flex/AS3, then you should be able to work out this app in AIR quite easily and see if it meets your needs.
You can achieve this using Adobe AIR but performance will get a hit.
You will need a lot of effort in order to optimize performance especially for video capture functionality.
It is better to do it natively.

getEnhancedMicrophone() doesn't work (reduce echo) on air mobile for IOS

I have a problem with my flex mobile application on iOS. It is a video chat application with a red5 server.
The video works fine but the voice has a big echo! I tried using getEnhancedMicrophone() but it didn't help.
How can I have Acoustic Echo cancellation or suppression on IOS?
I work on Flash Builder 4.6 with Air 3.5
There no known solutions.
Adobe been promising a fix for years but the solution requires access to Android source code from Google that is not open source. I had the same issues with a videChat app on Android using Adobe Air. I tried as workaround:
Switching mic.setLoopback(false/true) in a timer to break up the audio
Trying to detect sound coming over NetStream and set the local device mic gain to 0
Problem is I cannot detect if someone is talking over NetStream.
Use NetStreamInfo audio properties like audioBytesPerSecond but these do not jump when someone is talking over NetStream.
The problem is solved if the user wears headphones on the mobile side but this is not acceptable.

how does the performance speed differ between Flash App(compiled by Air) on iPad2 and Flash runs on iPad2 Flash browser?

I'm planning of developing iPad Game but currently I don't own Mac or the apple dev license yet and I'd like to do some performance examination before even bother to buy them.
My iPad2 has a Web Browser App called puffin which can run Flash on the internet. And I was wondering if you made Flash iPad App using Adobe Air, will it run as fast as the Web Flash version that runs on puffin?
I imagine Flash through puffin would perform less well than one made with Adobe Air.
Puffin is able to achieve Flash on iOS by running the Flash code remotely on their servers, and then sending the results back to the device. This involves a lot of travelling time over the air, and could potentially cause quite a bit of latency.
Adobe Air is native code running on the device; this is basically the best you'll get for running Flash code locally. Both are natively supported by Adobe, meaning it's the best support you'll get as well.
Using Adobe Air means you can reach a wider audience, your game can be on the App Store for all to see. If you only made it available via puffin, you're restricting your audience to owners of the puffin app (I've never heard of puffin before, I imagine a lot don't), and people who know the URL for your game. A lot of apps on the app store already are made with Adobe Air, and they have no performance problems.

Picup App VS. cliqcliq Quickpic

Weekend research has shown me that, in mobile Safari, my best chances for the upload of an image file from the iOS photo library are through cliqcliq's Quickpic app or PicUp for iPhone.
Are there any other choices that are more seamless or better than both of these apps?
*This project i'm developing will use iPads for this task.

Resources