Hi everyone - I've put together a quick iOS example with FlashDeveop+Flash CS6 (based on SzRaPnEL 's sample code above) that demonstrates the VideoTexture speed - tapping on the stage switches between the device's cameras - while i was testing a few options and tweaks, the optimal result I was able to achieve came from camera - 640x480 @ 30fps + Texture size 1024x512.
I am really excited about this one because it solves on of my main problems with utilizing AIR for Augmented Reality Apps!
Setting up the AIR 17 beta with the typical settings you would apply for a Starling project will get you going with this example in no time.
[ the short url is: j.mp/1N7ZbO8 ]
My results on iPad 3 are -
Camera performance: Front/Back camera set to 640x480 @ 30 fps (give or take - it fluctuates between 20 and 30 fps depending on lighting)
Starling performance: i get 50-60 fps rendering with a VideoTexture rendering camera feed at ~30 fps which gives a phenomenal real time user experience
NOTE: for the back camera you can go with 960x640 as well but for some reason the resulting texture renders some extra white space at the bottom of the stage (I have not had the time to get into it yet)
I hope this helps.