[Red5] High latency with red5

Naicu Octavian naicuoctavian at gmail.com
Mon Nov 5 15:24:25 PST 2007


Thanks I will try that and see if anything improves in my streamings !

On 06/11/2007, Steven Gong <steven.gong at gmail.com> wrote:
>
> Naicu,
> Simply add a property to bean rtmpTransport inside red5-core.xml:
> <property name="tcpNoDelay" value="true" />
>
> I have also checked in the change to the trunk.
>
> On 11/6/07, Naicu Octavian <naicuoctavian at gmail.com> wrote:
> >
> > That should work but I thought the option was available in the config
> > files somewhere!
> >
> > On 14/11/2007, Gregor Rot < gregor at inter-es.si> wrote:
> >
> > >  One way should be with directly editing:
> > >
> > >
> > >
> > > src/org/red5/server/net/rtmp/RTMPMinaTransport.java
> > >
> > >
> > >
> > > and recompile?
> > >
> > >
> > >
> > > Caos,
> > >
> > > Gregor
> > >
> > >
> > >
> > > *From:* red5-bounces at osflash.org [mailto: red5-bounces at osflash.org] *On
> > > Behalf Of *Naicu Octavian
> > > *Sent:* Monday, November 05, 2007 6:28 PM
> > > *To:* red5 at osflash.org
> > > *Subject:* Re: [Red5] High latency with red5
> > >
> > >
> > >
> > > Where exactly can you set tcpNoDelay to true? there is no trace of it
> > > in re5-core.xml.
> > >
> > > On 05/11/2007, *Steven Gong* < steven.gong at gmail.com> wrote:
> > >
> > > Have you set the tcp_nodelay?
> > >
> > >
> > >
> > > On 11/5/07, *Francois Kobi* <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
> > > >>>> http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >>>>
> > > >>>>
> > > >>> _______________________________________________
> > > >>> Red5 mailing list
> > > >>> Red5 at osflash.org
> > > >>> http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >>>
> > > >>>
> > > >>>
> > > >> _______________________________________________
> > > >> Red5 mailing list
> > > >> Red5 at osflash.org
> > > >> http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >>
> > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> > >
> > >   --
> > > Best Regards
> > > Steven Gong
> > >
> > > InfraRed5 Red5 Consultant: http://www.infrared5.com ,
> > > 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
> > >
> > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > >  http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
>
> --
> Best Regards
> Steven Gong
>
> InfraRed5 Red5 Consultant: http://www.infrared5.com , 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071106/a2ab299d/attachment.html 


More information about the Red5 mailing list