[Red5] Red5 Proxy
Daniel Rossi
spam at electroteque.org
Tue Jun 24 22:47:29 PDT 2008
That sounds like trap the publish event on the server , and inside
that setup a proxy client to republish to the other server.
On 25/06/2008, at 3:32 PM, Steven Gong wrote:
> Take a look at the class org.red5.server.stream.StreamingProxy which
> uses RTMPClient to proxy the request to another server if that is
> what you want.
>
> On Thu, Jun 26, 2008 at 4:18 AM, Rakesh Kumar Gupta
> <rakesh at heulab.com> wrote:
> Is there a way to do proxy rather than an edge origin configuration.
> I understand that red5 has a debug proxy statement in their
> configuration which is disabled. Does anyone know how to turn on the
> proxy across server.
>
>
> Rakesh
>
>
>
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
> Behalf Of Steven Gong
> Sent: Saturday, June 14, 2008 7:33 AM
> To: red5 at osflash.org
> Subject: Re: [Red5] Edge / Origin Disconnection (Stress Test)
>
>
> What is the connection bandwidth between Edge and Origin?
>
> On Sun, Jun 15, 2008 at 1:14 AM, Rakesh Kumar Gupta
> <rakesh at heulab.com> wrote:
>
> Hi Guys,
>
>
> We tried doing a stress test yesterday for a Red 5 Edge / Origin
> Configuration but failed because of disconnection issues between the
> edge and origin.
>
> We would started one video every 10 seconds using browsers. The
> following is our observation. Please help.
>
>
> 1. The first one would play, but intermittently, once the
> second or third pc started playing, all would freeze and the will no
> longer be able to play.
>
> 2. All subsequent videos will no longer play.
>
> 3. We have to kill the Red5 edge server and start it up again
> without killing the origin server and it will start to play once more.
>
> a. Implies that the red5 edge server stops accepting
> connections.
>
> 4. On a subsequent restart, we only played one video and it
> managed to complete. When we add more videos, it is very
> intermittent -> sometimes we can go up to 5 video all playing and
> the 6th one will hang the server.
>
> 5. The origin server has the following logs when it all hangs
>
>
> 2008-06-13 09:35:29,250 [pool-4-thread-4] WARN
> o.r.s.net.mrtmp.OriginMRTMPHandler - [/127.0.0.1:1393] EXCEPTION,
> please implement
> org.red5.server.net.mrtmp.OriginMRTMPHandler.exceptionCaught() for
> proper handling:
>
> java.io.IOException: An existing connection was forcibly closed by
> the remote host
>
> at sun.nio.ch.SocketDispatcher.read0(Native Method)
>
> at sun.nio.ch.SocketDispatcher.read(Unknown Source)
>
> at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
>
> at sun.nio.ch.IOUtil.read(Unknown Source)
>
> at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
>
> at
> org
> .apache
> .mina
> .transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:
> 218)
>
> at
> org
> .apache
> .mina
> .transport
> .socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198)
>
> at
> org.apache.mina.transport.socket.nio.SocketIoProcessor.access
> $400(SocketIoProcessor.java:45)
>
> at org.apache.mina.transport.socket.nio.SocketIoProcessor
> $Worker.run(SocketIoProcessor.java:485)
>
> at
> org
> .apache
> .mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
>
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(Unknown Source)
>
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(Unknown Source)
>
> at java.lang.Thread.run(Unknown Source)
>
> 2008-06-13 09:36:03,125 [pool-4-thread-4] WARN
> o.r.s.net.mrtmp.OriginMRTMPHandler - Handle on a non-existent origin
> connection!
>
>
> The "handle on a non-existent origin connection" error appears for
> each client. Hence if we started 20 clients, we will see 20 of the
> "handle on a non-existent origin connection" errors.
>
>
> 6. We have only opened the desired ports 1935 and 9035.
>
>
> Rakesh
>
>
> _______________________________________________
> 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
>
> Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
>
>
> _______________________________________________
> 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
>
> Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
> _______________________________________________
> 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/20080625/3baa9d56/attachment.html
More information about the Red5
mailing list