Groups | Blog | Home
all groups > macromedia flash flashcom > december 2006 >

macromedia flash flashcom : Strange increasing latency when streaming



Barry F
12/20/2006 4:03:42 AM
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
Barry F
12/20/2006 4:12:16 AM
Barry F
12/20/2006 4:41:49 AM
More updates (thanks for your patience):

It happens with some computers and not others. There is no pattern. I am using
the same FMS in every case. Sometimes there is increasing latency and sometimes
the streaming is perfect.

Thanks in advance.
myMacromediaScreenName
1/29/2007 7:14:17 PM
Hi Barry,

Did you get anywhere with this? I'm interested to see how it turned out.

TIA
AddThis Social Bookmark Button