Situation: I have a video stream through a flash server that the sender can update the quality of the video.
Problem: The receiver of the video stream may be on a dial-up connection and thus gets a very low framerate. I have code to detect if the receiver is disconnected from the server, however I would like to have an event that can fire if the average framerate drops below a predefined number. I do not want to use an interval because the interval speed would need to be high thus causing browser crashing or the page functioning slowly.
Final: I would basically like an event that tells me that a frame has been received and thus I can provide messaging that tells the sender to lower the quality.