[Red5] High latency with red5

Francois Kobi frkobi at yahoo.fr
Tue Nov 6 02:34:10 PST 2007


I have set the tcp_nodelay to true. For a while I had the illusion that 
it was working perfectly, but then suddenly, the communication jumped 
again and we had sometimes even around 5 or 8 seconds delay. Strange...

Is there any other idea to improve this ?

Francois

Steven Gong a écrit :
> Have you set the tcp_nodelay?
>
> On 11/5/07, *Francois Kobi* <frkobi at yahoo.fr <mailto:frkobi at yahoo.fr>> 
> wrote:
>
>     Apparently it is not a problem of buffering as the delay is different
>     everytime (from 500ms to 5 s). I guess if it was a problem of
>     buffer, it
>     would be the same every time.
>
>     I tried with a larger packet (2000) but the ping didn't change
>     significantly.
>
>     Francois
>
>     Paul Decoursey a écrit :
>     > A ping is a small burst, sustained bandwidth of streaming could
>     > easily take longer to transmit.  Could it be that the client is
>     > receiving the data but it's being buffered and that is causing the
>     > what appears to be latency?  There is a limited amount of bandwidth
>     > available across there and a significant amount of filtering being
>     > done.  Try a ping with a large packet size and see if there is a
>     > significant difference in the times.
>     >
>     > Paul
>     >
>     >
>     > On Nov 4, 2007, at 8:51 PM, Francois Kobi wrote:
>     >
>     >
>     >> That's true, but when I ping the server from Europe, I get
>     between 100
>     >> and 160 ms. We are far from 5 to 6 seconds, and the ping has to
>     go and
>     >> come back as well.
>     >>
>     >> Francois
>     >>
>     >> Paul Decoursey a écrit :
>     >>
>     >>> Maybe I'm out of sync, but to me 5-6 seconds doesn't really sound
>     >>> that bad given the circumstances.  Consider that the stream
>     has to go
>     >>> across the pond twice before hitting the other client.  What
>     you want
>     >>> is a server in Europe or perhaps a peer to peer solution... is
>     that
>     >>> even possible with Flash?
>     >>>
>     >>> Paul
>     >>>
>     >>>
>     >>> On Nov 4, 2007, at 8:27 PM, Francois Kobi wrote:
>     >>>
>     >>>
>     >>>
>     >>>> Hello,
>     >>>>
>     >>>> My server is located in the US. When trying video chat
>     application
>     >>>> between two people in Europe with very good ADSL connection,
>     I get
>     >>>> most
>     >>>> of the time a very high latency (up to 5, 6 seconds). Does anyone
>     >>>> know
>     >>>> the reason and how I can correct this ? (The quality of the
>     video
>     >>>> and
>     >>>> audio is good, the only problem is this big latency)
>     >>>>
>     >>>> Thank you.
>     >>>>
>     >>>> _______________________________________________
>     >>>> Red5 mailing list
>     >>>> Red5 at osflash.org <mailto:Red5 at osflash.org>
>     >>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>     <http://osflash.org/mailman/listinfo/red5_osflash.org>
>     >>>>
>     >>>>
>     >>> _______________________________________________
>     >>> Red5 mailing list
>     >>> Red5 at osflash.org <mailto:Red5 at osflash.org>
>     >>> http://osflash.org/mailman/listinfo/red5_osflash.org
>     >>>
>     >>>
>     >>>
>     >> _______________________________________________
>     >> Red5 mailing list
>     >> Red5 at osflash.org <mailto:Red5 at osflash.org>
>     >> http://osflash.org/mailman/listinfo/red5_osflash.org
>     <http://osflash.org/mailman/listinfo/red5_osflash.org>
>     >>
>     >
>     >
>     > _______________________________________________
>     > Red5 mailing list
>     > Red5 at osflash.org <mailto:Red5 at osflash.org>
>     > http://osflash.org/mailman/listinfo/red5_osflash.org
>     >
>     >
>
>
>     _______________________________________________
>     Red5 mailing list
>     Red5 at osflash.org <mailto:Red5 at osflash.org>
>     http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
> -- 
> Best Regards
> Steven Gong
>
> InfraRed5 Red5 Consultant: http://www.infrared5.com 
> <http://www.infrared5.com>, steven at infrared5.com 
> <mailto:steven at infrared5.com>
>
> Red5 Developer: http://osflash.org/red5, 
> http://jira.red5.org/confluence/display/~steven/Home 
> <http://jira.red5.org/confluence/display/%7Esteven/Home>
>
> Modesty is an overrated quality in men of no great accomplishment.  -- 
> Ricky Jay
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>   




More information about the Red5 mailing list