Flash video slooow in AIR 2 HTMLLoader component
Posted
by shane
on Stack Overflow
See other posts from Stack Overflow
or by shane
Published on 2010-06-08T05:14:07Z
Indexed on
2010/06/08
5:22 UTC
Read the original article
Hit count: 463
I am working on a full screen kiosk application in Flex 4/Air 2 using Flash Builder 4.
We have a company training website which staff can access via the kiosk, and the main content is interactive flash training videos. Our target machines are by no means 'beefy', they are Atom n270s @ 1.6Ghz with 1Gb RAM.
As it stands the videos are all but unusable when used from within the Air application, the application becomes completely unresponsive (100% cpu usage, click events take approx 5-10 seconds to register).
So far I have tried:
increasing the default frame rate from 24fps to 60. No improvement.
nativeWindow.stage.frameRate = 60;
running the videos in a stripped down version of my app, just a full screen HTMLLoader component pointed at the training website. No better than before.
disabled hyper threading. The Atom CPU is split into two virtual cores, and the AIR app was only able to use one thread so maxed out at 50% CPU usage. Since the kiosk will only run the AIR app I am happy to loose hyper threading to increase the performance of the Air app. Marginal Improvement.
The same website with the same videos is responsive if viewed in ie7 on the same machine, although Internet Explorer takes advantage of the CPU’s hyper threading.
The flash videos are built with Adobe Captivate and from what I understand employee JavaScript to relay results back to the server. I will add more information about the video content asap as the training guru is back in the office later this week.
© Stack Overflow or respective owner