Programming gurus?

Hello Everyone

I am trying to setup a web page with some simple controls, either buttons or sliders, which can be clicked or slided to drive a servo configuration (2 servos) in a pan/tilt config.

I am able to communicate with the SSC-32 controller on my linux box via /dev/ttyUSB0. I have written some basic php scripts to control the servos.
I can select a servo number and drive it either way, or multiple servos.
I am using AJAX to do the above.

What is the best way to address the button control or slider above? From what I can see, the commands to the SSC need to be seperated and allowed to execute in full before processing the next. So, if the slider is rapidly moved, how does one control that, because, theoretically as you slide it, there is a multitude of “#x Pxxx” commands being thrown at the controller.

I’ve posted some info on how I control my servos via a web page in the below discussion. Bottom is my current online pan/tilt cam.

viewtopic.php?f=31&t=3204

web.comporium.net/~shb/wc2000-PT-script.htm

Okay, I have managed to compromise with a set of controls to drive my camera. Basically a set of buttons that have pre-set variables which get sent to the ssc controller.

Next, I need to somehow embed that video feed real time off the camera onto the webpage which has the camera controls on it.
Any ideas? Ideally needs to be linux based.