View Full Version : Events are freezing
lunetics
January 15th, 2008, 10:30 PM
I´ve a videorecorder application. I start the recording, but after a while everything is freezing: The buttons (previous, record/pause and next) stops working and the timer stops counting. Anyone who knows what the problem could be? Why does events just stop working like this?
Edit:
Maybe the objects are Garbage Collected?
lunetics
January 16th, 2008, 11:41 AM
Should I make all display objects global in the class?
lunetics
January 17th, 2008, 11:29 AM
Anyone?
neznein9
January 18th, 2008, 12:33 AM
How is your app 'recording'? Video generates a lot of data and flash cant really access any storage so everything is getting jammed into ram/page files. I'd guess you're overrunning the buffers and crashing the swf runtime.
daleth
January 19th, 2008, 02:09 PM
Yeah, are you *actually* recording to a file, or just displaying webcam video?
--ted
lunetics
January 21st, 2008, 05:42 PM
I´m recording realtime, on-the-fly, to a Red5/Media Server 2 streaming server. When looking at Performance in Windows Task Manager, the CPU usage is totally normal - about 20%.
lunetics
January 22nd, 2008, 08:04 PM
I tried to global the record button by initiating the variable in the class. I pressed back- and forward buttons a couple of times and everything was freezing, except the record button. It seems that the objects got garbage collected. I´ve to rebuilt the class to make sure this is the sulution...
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.