The default port is at 9035 on Origin. You can configure the value in red5.properties.
On 8/23/07, Dan Rossi <[EMAIL PROTECTED]> wrote: > > Hang on, does the origin communicate back to the edge ? If so what ports > do i need to open at my lan router. > > Dan Rossi wrote: > > Steven Gong wrote: > > > >> Yes, that is a limitation for the prototype now as I haven't done the > >> intelligent connection management. You should make sure that the > >> Origin is started up BEFORE you start up the Edge and also make sure > >> the Edge can connect to Origin successfully. Anyway thanks for your > >> information. > >> > > Its not connecting ? How can I work that out , the port is open. The > > origin is up before the edge. > > > > > >> On 8/23/07, *Dan Rossi* <[EMAIL PROTECTED] > >> <mailto:[EMAIL PROTECTED]>> wrote: > >> > >> Sorry the origin server was firewalled its open now, i doubt it > works > >> set to localhost either, as I cant have both running. > >> > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> java.nio.channels.CancelledKeyException > >> at > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> at > >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> at > >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > >> at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > >> at sun.nio.ch.SelectorImpl.select (SelectorImpl.java:80) > >> at > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( > SelectorManager.java:299) > >> at > >> org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java > :73) > >> at > >> org.mortbay.jetty.nio.SelectChannelConnector.accept( > SelectChannelConnector.java:120) > >> at > >> org.mortbay.jetty.AbstractConnector$Acceptor.run( > AbstractConnector.java:498) > >> at > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run > >> (BoundedThreadPool.java:475) > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> java.nio.channels.CancelledKeyException > >> at > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> at sun.nio.ch.SelectionKeyImpl.readyOps > >> (SelectionKeyImpl.java:69) > >> at > >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys( > KQueueSelectorImpl.java:105) > >> at > >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > >> at sun.nio.ch.SelectorImpl.lockAndDoSelect > >> (SelectorImpl.java:69) > >> at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> at > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( > SelectorManager.java:299) > >> at > >> org.mortbay.io.nio.SelectorManager.doSelect (SelectorManager.java > :73) > >> at > >> org.mortbay.jetty.nio.SelectChannelConnector.accept( > SelectChannelConnector.java:120) > >> at > >> org.mortbay.jetty.AbstractConnector$Acceptor.run( > AbstractConnector.java:498) > >> > >> at > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run( > BoundedThreadPool.java:475) > >> > >> > >> > >> > >> Dan Rossi wrote: > >> > Tried a few combinations, including setting the origin host to > >> > electroteque.org <http://electroteque.org> and localhost. I > >> think there is a problem in the edge > >> > config. > >> > > >> > Connecting with this private var serverURL:String = > >> > "rtmpt://localhost:8088/oflaDemo/"; > >> > > >> > [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2641 > ms > >> > [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) > >> Could not > >> > process message. > >> > java.lang.NullPointerException > >> > at > >> > > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage( > EdgeRTMPTHandler.java:181) > >> > at > >> > > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect( > EdgeRTMPTHandler.java:165) > >> > at > >> > > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived( > EdgeRTMPTHandler.java:58) > >> > at > >> > > >> org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java > :355) > >> > at > >> > > >> org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java > :433) > >> > at > >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > >> > at > >> > org.mortbay.jetty.servlet.ServletHolder.handle > >> (ServletHolder.java:491) > >> > at > >> > > >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java > :367) > >> > at > >> > > >> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java > :689) > >> > >> > at > >> > > >> org.mortbay.jetty.handler.ContextHandlerCollection.handle( > ContextHandlerCollection.java:146) > >> > at > >> > > >> org.mortbay.jetty.handler.HandlerCollection.handle( > HandlerCollection.java > >> :114) > >> > at > >> > > >> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java > :139) > >> > at org.mortbay.jetty.Server.handle(Server.java:285) > >> > at > >> > org.mortbay.jetty.HttpConnection.handleRequest > >> (HttpConnection.java:457) > >> > at > >> > > >> org.mortbay.jetty.HttpConnection$RequestHandler.content( > HttpConnection.java:765) > >> > at > >> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627) > >> > at > >> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > >> > at > >> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) > >> > at > >> > org.mortbay.io.nio.SelectChannelEndPoint.run( > >> SelectChannelEndPoint.java:329) > >> > at > >> > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run( > BoundedThreadPool.java:475) > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> > java.nio.channels.CancelledKeyException > >> > at > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> > at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java > :74) > >> > at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > >> > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> > at > >> > > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( > SelectorManager.java:299) > >> > at > >> > org.mortbay.io.nio.SelectorManager.doSelect > >> (SelectorManager.java:73) > >> > at > >> > > >> org.mortbay.jetty.nio.SelectChannelConnector.accept( > SelectChannelConnector.java:120) > >> > at > >> > > >> org.mortbay.jetty.AbstractConnector$Acceptor.run( > AbstractConnector.java > >> :498) > >> > at > >> > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run( > BoundedThreadPool.java:475) > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> > java.nio.channels.CancelledKeyException > >> > at > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> > at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java > :74) > >> > at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > >> > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> > at > >> > > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( > SelectorManager.java:299) > >> > at > >> > org.mortbay.io.nio.SelectorManager.doSelect > >> (SelectorManager.java:73) > >> > at > >> > > >> org.mortbay.jetty.nio.SelectChannelConnector.accept( > SelectChannelConnector.java:120) > >> > at > >> > > >> org.mortbay.jetty.AbstractConnector$Acceptor.run( > AbstractConnector.java > >> :498) > >> > at > >> > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run( > BoundedThreadPool.java:475) > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> > java.nio.channels.CancelledKeyException > >> > at > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> > at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java > :74) > >> > at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > >> > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> > at > >> > > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( > SelectorManager.java:299) > >> > at > >> > org.mortbay.io.nio.SelectorManager.doSelect > >> (SelectorManager.java:73) > >> > at > >> > > >> org.mortbay.jetty.nio.SelectChannelConnector.accept( > SelectChannelConnector.java:120) > >> > at > >> > > >> org.mortbay.jetty.AbstractConnector$Acceptor.run( > AbstractConnector.java > >> :498) > >> > at > >> > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run( > BoundedThreadPool.java:475) > >> > > >> > > >> > Steven Gong wrote: > >> > > >> >> Hi all, > >> >> I've checked in the prototype for Edge/Origin to the clustering > >> >> branch: > >> >> > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > >> >> < > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > >> >> > >> >> I haven't integrated the Edge with Terracotta yet but will do > >> it soon. > >> >> Now you can play with it on two machines with one Origin server > >> and > >> >> one Edge server. (Of course, it should work for one Origin and > >> several > >> >> Edges. But I have never tried it. :-) ) The Edge server is > >> accessed by > >> >> RTMPT. The RTMP Edge support will be added after the > >> Edge/Origin with > >> >> Terracotta prototype is done. > >> >> > >> >> How to run the prototype inside Eclipse: > >> >> (1) Check out the code first. > >> >> (2) Start Origin server by running Standalone without arguments. > >> >> (3) Start Edge server by running Standalone with argument > >> "red5-edge.xml " > >> >> (4) Connect the Edge by RTMPT on port 8088. For example, > >> >> "rtmpt://localhost:8088/oflaDemo" > >> >> > >> >> The default setting of Edge is to connect Origin locally. You > can > >> >> modify the "server" property of "mrtmpClient" bean in " > >> >> red5-edge-core.xml" to set the address of Origin server. > >> >> > >> >> I appreciate your feedbacks and suggestions for the prototype. > >> Enjoy!~~ > >> >> > >> >> -- > >> >> Best Regards > >> >> Steven Gong > >> >> > >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com, > >> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > >> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > >> >> > >> >> Red5 Developer: http://osflash.org/red5, > >> >> http://jira.red5.org/confluence/display/~steven/Home > >> <http://jira.red5.org/confluence/display/%7Esteven/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@osflash.org <mailto:Red5@osflash.org> > >> >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> >> > >> >> > >> > > >> > > >> > _______________________________________________ > >> > Red5 mailing list > >> > Red5@osflash.org <mailto:Red5@osflash.org> > >> > http://osflash.org/mailman/listinfo/red5_osflash.org > >> > > >> > > >> > >> > >> _______________________________________________ > >> Red5 mailing list > >> Red5@osflash.org <mailto:Red5@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>, [EMAIL PROTECTED] > >> <mailto:[EMAIL PROTECTED]> > >> > >> 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@osflash.org > >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> > >> > > > > > > _______________________________________________ > > Red5 mailing list > > Red5@osflash.org > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > _______________________________________________ > Red5 mailing list > Red5@osflash.org > http://osflash.org/mailman/listinfo/red5_osflash.org > -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay
_______________________________________________ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org