Question
Strange increasing latency when streaming
Hi all,
I have a quick question about something weird I am experiencing when streaming live media. I hope somebody can help.
I have written a two very simple Flash clients: one captures video from the webcam and streams it to FMS2.0, the other is used to view that video stream. The NetStream on the viewer client has a 2-second buffer.
The weird part is if I run both clients on the same computer the viewer client falls farther and farther behind the capture client. Eventually it is playing video that was captured hours previously. For some reason it is not playing the video as fast as it is being captured (I have set the capture frame rate at 15 fps).
This only happens (so far) when both clients are running on the same computer. It happens whether I run them via the Flash IDE or in a browser. Everything works great when I stream between two different computers.
Both clients are extremely bare-boned and don't do anything complicated. (they were copied from examples in the official Macromedia course for FMS2.0). The FMS application doesn't contain any code at all.
Any and all suggestion are much appreciated!
Thanks,
Barry
I have a quick question about something weird I am experiencing when streaming live media. I hope somebody can help.
I have written a two very simple Flash clients: one captures video from the webcam and streams it to FMS2.0, the other is used to view that video stream. The NetStream on the viewer client has a 2-second buffer.
The weird part is if I run both clients on the same computer the viewer client falls farther and farther behind the capture client. Eventually it is playing video that was captured hours previously. For some reason it is not playing the video as fast as it is being captured (I have set the capture frame rate at 15 fps).
This only happens (so far) when both clients are running on the same computer. It happens whether I run them via the Flash IDE or in a browser. Everything works great when I stream between two different computers.
Both clients are extremely bare-boned and don't do anything complicated. (they were copied from examples in the official Macromedia course for FMS2.0). The FMS application doesn't contain any code at all.
Any and all suggestion are much appreciated!
Thanks,
Barry
