Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-24 Thread Dan Rossi
Steve I set the log level to INFO and still nothing

here is the connection url

rtmpt://localhost:8088/oflaDemo

I get no log happening at all in the console. here is what the red5.sh 
looks like

exec $JAVA -Djava.security.manager 
-Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH 
org.red5.server.Standalone conf/red5-edge.xml


Steven Gong wrote:
 Edge connects to Origin via 9035 and no other TCP link is used as TCP 
 is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. 
 Take a look at the configuration in log4j.properties and make changes 
 if necessary.

 On 8/24/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Yes i opened up 9035. How am I able to check everything is working
 then
 ? Why would I be getting connection errors like below, would it be a
 problem with the origin connecting back to the edge machine  ? The
 edge
 machine was on my machine so behind a router , what ports would i have
 to open up for that.

 Steven Gong wrote:
  The default port is at 9035 on Origin. You can configure the
 value in
  red5.properties .
 
  On 8/23/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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]
  mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[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

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-24 Thread Dan Rossi
Hi, it seems after an update on the cluster branch it now works !

I have to check the logs on both servers to see whats happening though.

Dan Rossi wrote:
 Steve I set the log level to INFO and still nothing

 here is the connection url

 rtmpt://localhost:8088/oflaDemo

 I get no log happening at all in the console. here is what the red5.sh 
 looks like

 exec $JAVA -Djava.security.manager 
 -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH 
 org.red5.server.Standalone conf/red5-edge.xml


 Steven Gong wrote:
   
 Edge connects to Origin via 9035 and no other TCP link is used as TCP 
 is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. 
 Take a look at the configuration in log4j.properties and make changes 
 if necessary.

 On 8/24/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Yes i opened up 9035. How am I able to check everything is working
 then
 ? Why would I be getting connection errors like below, would it be a
 problem with the origin connecting back to the edge machine  ? The
 edge
 machine was on my machine so behind a router , what ports would i have
 to open up for that.

 Steven Gong wrote:
  The default port is at 9035 on Origin. You can configure the
 value in
  red5.properties .
 
  On 8/23/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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]
  mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[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

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-24 Thread Dan Rossi
mrtmp.host=

it also looks like there is a setting to change in red5.properties ? the 
email suggested changing it in red5-edge-core.xml .

I ran a packet sniff with tcpflow and found no connection at all being 
attempted its breaking at the edge server.

Dan Rossi wrote:
 No that was wrong, if the origin is down it wont try and connect, here 
 is the error again i have the log level set to info on both ends, there 
 is no log in the console on the origin end its just sitting there.

  
 [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2214 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)





 Dan Rossi wrote:
   
 Hi, it seems after an update on the cluster branch it now works !

 I have to check the logs on both servers to see whats happening though.

 Dan Rossi wrote:
   
 
 Steve I set the log level to INFO and still nothing

 here is the connection url

 rtmpt://localhost:8088/oflaDemo

 I get no log happening at all in the console. here is what the red5.sh 
 looks like

 exec $JAVA -Djava.security.manager 
 -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH 
 org.red5.server.Standalone conf/red5-edge.xml


 Steven Gong wrote:
   
 
   
 Edge connects to Origin via 9035 and no other TCP link is used as TCP 
 is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. 
 Take a look at the configuration in log4j.properties and make changes 
 if necessary.

 On 8/24/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Yes i opened up 9035. How am I able to check everything is working
 then
 ? Why would I be getting connection errors like below, would it be a
 problem with the origin connecting back to the edge machine  ? The
 edge
 machine was on my machine so behind a router , what ports would i have
 to open up for that.

 Steven Gong wrote:
  The default port is at 9035 on Origin. You can configure the
 value in
  red5.properties .
 
  On 8/23/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  Hang on, does

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-24 Thread Dan Rossi
No that was wrong, if the origin is down it wont try and connect, here 
is the error again i have the log level set to info on both ends, there 
is no log in the console on the origin end its just sitting there.

 
[INFO]:( org.red5.server.Standalone.main ) Startup done in: 2214 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)





Dan Rossi wrote:
 Hi, it seems after an update on the cluster branch it now works !

 I have to check the logs on both servers to see whats happening though.

 Dan Rossi wrote:
   
 Steve I set the log level to INFO and still nothing

 here is the connection url

 rtmpt://localhost:8088/oflaDemo

 I get no log happening at all in the console. here is what the red5.sh 
 looks like

 exec $JAVA -Djava.security.manager 
 -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH 
 org.red5.server.Standalone conf/red5-edge.xml


 Steven Gong wrote:
   
 
 Edge connects to Origin via 9035 and no other TCP link is used as TCP 
 is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. 
 Take a look at the configuration in log4j.properties and make changes 
 if necessary.

 On 8/24/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Yes i opened up 9035. How am I able to check everything is working
 then
 ? Why would I be getting connection errors like below, would it be a
 problem with the origin connecting back to the edge machine  ? The
 edge
 machine was on my machine so behind a router , what ports would i have
 to open up for that.

 Steven Gong wrote:
  The default port is at 9035 on Origin. You can configure the
 value in
  red5.properties .
 
  On 8/23/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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

Re: [Red5] Edge/Origin prototype is on the clustering branch

2007-08-23 Thread Dan Rossi
Steve I have setup a standalone origin server for now up at 
electroteque.org located in Sydney. If someone has a origin server I can 
setup a secondary red5 running as an edge and connect to that, I could 
test that also, or else I can look at setting up a edge service in a 
machine in another datacentre. Will do a quick test with a edge server 
running locally.



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]

 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


Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-23 Thread Dan Rossi
Tried a few combinations, including setting the origin host to 
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 

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-23 Thread Dan Rossi
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 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

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-23 Thread Dan Rossi
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

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-23 Thread Dan Rossi
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

Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch

2007-08-23 Thread Dan Rossi
Yes i opened up 9035. How am I able to check everything is working then 
? Why would I be getting connection errors like below, would it be a 
problem with the origin connecting back to the edge machine  ? The edge 
machine was on my machine so behind a router , what ports would i have 
to open up for that.

Steven Gong wrote:
 The default port is at 9035 on Origin. You can configure the value in 
 red5.properties.

 On 8/23/07, *Dan Rossi*  [EMAIL PROTECTED] 
 mailto:[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]
  mailto: [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
 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

Re: [Red5] Edge/Origin prototype is on the clustering branch

2007-08-22 Thread Dan Rossi
OK Np, it loaded as a checkout in eclipse fine. I'll move it over to the 
server tommorow.

Steven Gong wrote:
 Dan,
 The Edge server connects the Origin via TCP socket (default port is 9035).

 Glad to see that you can setup a test server for this. Thanks. :-)

 On 8/21/07, * Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Could this theoretically be setup to work across datacentres, or does
 the machines need to be in the same DC ? If so, once I manage to work
 out the logic of setting it up, I'd be happy to host a edge / origin
 version of server in a DC in Sydney if people want to try out
 those kind
 of conditions. Im pretty sure thats the whole deal about the edge
 system
 anyway. Ie have the origin servers in a DC in the US, and edge
 servers
 geo targetted across places ie AU and EU.

 Sales Department wrote:
  Is there a wiki page anywhere detailing what's happening on this
  branch?  From steve's post, it appears that a video stream is being
  'published' by the origin server and subscribed to by the edge
 server.
  If that's the case, please point out where this client
 relationship is
  being done.  I'm most interested in helping on that piece or at
 least
  seeing what's been done so far.
 
  Bill
 
  Lenny Sorey wrote:
 
  Hi Orion,
 
  Glad to see you now in the list.
 
  I will be experiment with Stevens setup toward the end of the
  week.
 
  Looking forward to Terracotta's Integration
 
  Regards,
 
  Lenny
 
 
  On 8/21/07, *Orion Letizi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  Very cool.  I'm on an airplane today, but I'll try it out
 as soon
  as I get home.
 
 
  Sent from my handheld
 
  -Original Message-
  From: Steven Gong  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
  Date: Tue, 21 Aug 2007 13:29:25
  To:Red5@osflash.org mailto:To:Red5@osflash.org mailto:To
 mailto:To:Red5@osflash.org mailto:Red5@osflash.org, Red Dev
 list
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED],
  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  Cc:Orion Letizi  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED], Steven Harris
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  Subject: Edge/Origin prototype is on the clustering branch
 
 
  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
  http://www.infrared5.com http://www.infrared5.com ,
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
  Red5 Developer: http://osflash.org/red5 
 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

Re: [Red5] Edge/Origin prototype is on the clustering branch

2007-08-21 Thread Dan Rossi
Could this theoretically be setup to work across datacentres, or does 
the machines need to be in the same DC ? If so, once I manage to work 
out the logic of setting it up, I'd be happy to host a edge / origin 
version of server in a DC in Sydney if people want to try out those kind 
of conditions. Im pretty sure thats the whole deal about the edge system 
anyway. Ie have the origin servers in a DC in the US, and edge servers 
geo targetted across places ie AU and EU.

Sales Department wrote:
 Is there a wiki page anywhere detailing what's happening on this 
 branch?  From steve's post, it appears that a video stream is being 
 'published' by the origin server and subscribed to by the edge server.  
 If that's the case, please point out where this client relationship is 
 being done.  I'm most interested in helping on that piece or at least 
 seeing what's been done so far.

 Bill

 Lenny Sorey wrote:
   
 Hi Orion,
  
 Glad to see you now in the list.
  
 I will be experiment with Stevens setup toward the end of the
 week.
  
 Looking forward to Terracotta's Integration
  
 Regards,
  
 Lenny

  
 On 8/21/07, *Orion Letizi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Very cool.  I'm on an airplane today, but I'll try it out as soon
 as I get home.


 Sent from my handheld

 -Original Message-
 From: Steven Gong [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]

 Date: Tue, 21 Aug 2007 13:29:25
 To:Red5@osflash.org mailto:To:Red5@osflash.org, Red Dev list
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED],
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Cc:Orion Letizi  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED], Steven Harris
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Subject: Edge/Origin prototype is on the clustering branch


 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
 http://www.infrared5.com , [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]

 Red5 Developer: http://osflash.org/red5 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/~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 mailto:Red5@osflash.org
 http://osflash.org/mailman/listinfo/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

   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] The New Flash Player INTENDED SUMMARY

2007-08-21 Thread Dan Rossi
Rodrigo Ordonez Licona wrote:
 I read a few of the links this should save you some time

 A)New flash Player release, Featuring New Video Codec Capability H.264...
 And other bits and bytes 
 B)Adobe Developer Blog saying only FMS will LEGALLY stream to Flash player
 content encoded with h.264
 C)Lots of speculations on what this will.. and will not do.

 I think ... lets give it time. The announcement should be good a step
 forward for everyone.

 (I though vp6 and vp7 were one of the new 7 wonders...
  and they seem to be but only for:
 low processor 
 low memory 
 low bandwidth machines)
   

I thought they scrapped H.264 for VP6 / VP7 etc ?



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] The New Flash Player

2007-08-21 Thread Dan Rossi
Steven Gong wrote:
 I am lost in the long mail chain about the up-coming FlashPlayer. Is 
 anyone here can make a summary about what is happening in this 
 version? What are the restrictions and impacts on the server side? Thanks.

This really isnt surprising, you have to treat an evil as evil. I think 
flash should have stayed with Macromedia really. For instance they 
really try their best to stuff you around ie with platform license 
migrations, they make it so hard and impossible to first track down the 
information and what to do, then the process is so tedious, and then 
after 100 or so support emails getting nowhere you'll end up just 
getting your boss to buy a new copy just to get your work done.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Link to call me for free

2007-08-16 Thread Dan Rossi
Crap it works. I'm managed to call my landline from the flash. I'm 
curious how this works, calls via a VOIP server software ? You have to 
use international numbers. I guess you talk to the land line via the 
flash client. So its misleading to say you simply use your landline 
phone to make a call to another one.


Mondain wrote:
 what the heck is this? did spam get through?

 On 8/16/07, Vicky Biswas [EMAIL PROTECTED] wrote:
   
  I am using jaxtr, and if you also sign up, we can talk for free on the
 phone at any time.

 -Vicky

 P.S. Here is the link to sign up:
 http://www.jaxtr.com/user/ticket?n=Tf3zgj0u1fptxtype=joininvite

 Delivered by jaxtr, Inc., 855 Oak Grove Avenue, Suite 100, Menlo Park,
 California 94025. Click 
 herehttp://www.jaxtr.com/user/reportabuse.jsp?it=Tf3zgj0u1fptxto stop 
 receiving messages from this sender.


 ___
 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


Re: [Red5] Link to call me for free

2007-08-16 Thread Dan Rossi
Looks like it could have been. Vicky seems to have posted to the list 
before. I'm checking it out now.

Mondain wrote:
 what the heck is this? did spam get through?

 On 8/16/07, Vicky Biswas [EMAIL PROTECTED] wrote:
   
  I am using jaxtr, and if you also sign up, we can talk for free on the
 phone at any time.

 -Vicky

 P.S. Here is the link to sign up:
 http://www.jaxtr.com/user/ticket?n=Tf3zgj0u1fptxtype=joininvite

 Delivered by jaxtr, Inc., 855 Oak Grove Avenue, Suite 100, Menlo Park,
 California 94025. Click 
 herehttp://www.jaxtr.com/user/reportabuse.jsp?it=Tf3zgj0u1fptxto stop 
 receiving messages from this sender.


 ___
 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


Re: [Red5] How to update the svn repository?

2007-08-16 Thread Dan Rossi
Hi you need an account first I guess, and then use tourtouise svn to 
login and commit your sources. How is it going btw, is there a standard 
admin client now ? Is the ant AIR version working yet aswell without too 
many changes ? It might have to be portable I guess for those that don't 
have Flex Builder 2 or a Flex Builder 3 :) I'm pretty sure it was 
submitted for review into jira correct ?

Martijn van Beek wrote:
 I work with Flex Builder 3 and I'm working on the Red 5 Admin Panel. I want
 to submit my modified sources to the repository but how? I have Subclipse
 installed and I found the location of the Admin panel. I'm used to CVS, SVN
 is completely new to me.

   
 

 ___
 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


Re: [Red5] unsubscribe

2007-08-15 Thread Dan Rossi
Sorry to hear that, I think the instructions would be here

http://osflash.org/mailman/listinfo/red5_osflash.org



Simon de Haan wrote:



 Met vriendelijke groet,

 Simon de Haan

 Eight Media
 [EMAIL PROTECTED]
 +31 (0)26 38 42 440




 

 ___
 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


Re: [Red5] Red5 log file

2007-08-14 Thread Dan Rossi
Depends on what you want to do with it. If you just want to debug check 
out conf/log4j.properties . If you want an access type log,  there is no 
implementation available, though ive started on a custom logging system 
if you want to check it out

http://www.electroteque.org/red5/logging/

Pham Ngoc Hai wrote:
 Can some one please tell me how to get the log file of Red5
 and the log files of Red5 applications?
 A simple guide would be great. I'm running Red5 as
 standalone server on Ubuntu.
 Thanks a lot.



 
 Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
 Sims Stories at Yahoo! Games.
 http://sims.yahoo.com/  

 ___
 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


Re: [Red5] Streaming and database connection with red5 media server

2007-08-14 Thread Dan Rossi
Lenny Sorey wrote:
 Got to playing with Milan Toth  tutorial regarding database connections and
 red5.

 I've got an example of this running at http://red5.fatdot.com/vidtest.html

   

 The videos that will play are referenced in MySQL with the titles described.

 So, the more that hit this app the more stats I can gather and share.

 I think I am going to next use NomIad's Spring example with PostgreSQL as
 the database of choice.
   
Where is that ?

 I am little bit concerned about MySQL 's latest statements regarding the
 Community Version of MySQL.
   

Where is that ? Whats wrong with mysql ? Mysql5 is pretty good on high 
performance stuff just needs quite a bit of tweaking. They were always 
going to be heading as an oracle alternative therefore paid. I dont 
think they will turn evil though.
 Anyone done anything like this with Hibernate yet?
   

Im sure its possible, im needing to investigate hibernate for session 
tracking / authentication for a security module i need to implement so 
its possibly going to be the same kind of deal. It depends what you want 
to do with the data, is hibernate just as easy to administrate as mysql 
via a gui etc ? How would the data be added etc. Im still unsure how 
easy it is to add / edit data in it.
 As always, anyone wanting the sources Java, Flex and MySQL DDL's email me
 offline and  will make these available
 or you can struggle through the tutorial. : )

 If the server is brought to it's knees, I will restart.
   

If you see it hang that would be interesting to know.
 Regards,

 Lenny

   
 

 ___
 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


Re: [Red5] Streaming and database connection with red5 media server

2007-08-14 Thread Dan Rossi
Its rebuffering. This was a problem before for over a year because the 
net send buffer setting was too low, maybe its been reverted on your 
copy ? Surely your uplink is sufficient to stream these ?

Lenny Sorey wrote:
 Hi Jake,

 Thanks for your response.

 Which stream are you talking about.

 All of them?

 Lenny


 On 8/14/07, Jake Hilton [EMAIL PROTECTED] wrote:
   
 It seemed stable enough.. but the stream was pretty choppy.. probably over
 use.

 Jake

 On 8/14/07, Lenny Sorey  [EMAIL PROTECTED] wrote:
 
  Got to playing with Milan Toth   tutorial regarding database
 connections and red5.

 I've got an example of this running at
 http://red5.fatdot.com/vidtest.html

 I am using the following for this app

 Tomcat 6.0.13
 Java 1.6
 Apache 2.2.4
 MySQL 5.0.47
 Flex 2.0 Player
 Server has 1 GB of RAM and 3.9 Intel CPU.

 Connection -  1 MB up and down.

 The Flex player is not fancy or pretty but will get the job done. - No
 volume control, No Pause, No playback, No scrubbing, etc.
 Just plays.

 I would be interested with any feedback from anyone about how the videos
 play for you.

 You freely go from one video to another.

 Also, I am running Sun's Jconsole for java 1.6 at the moment trying to
 find any bottlenecks
 in RED5 for VOD.

 I have the standard red5 trailer movies as well as one I downloaded from
 Google and converted to FLV via www.keepvid.com is a little over 2 hours
 long.

 This is the Jesus movie.

 The videos that will play are referenced in MySQL with the titles
 described.

 So, the more that hit this app the more stats I can gather and share.

 I think I am going to next use NomIad's Spring example with PostgreSQL
 as the database of choice.
 I am little bit concerned about MySQL 's latest statements regarding the
 Community Version of MySQL.

 Anyone done anything like this with Hibernate yet?

 As always, anyone wanting the sources Java, Flex and MySQL DDL's email
 me offline and  will make these available
 or you can struggle through the tutorial. : )

 If the server is brought to it's knees, I will restart.

 Regards,

 Lenny

 ___
 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
   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Streaming and database connection with red5 media server

2007-08-14 Thread Dan Rossi
We arent getting the rebuffer problem, but most definitely a random or 
patterned drop frame issue for live streans.

Lenny Sorey wrote:
 One more thing.

 I am running latest from trunk as well.

 Lenny


 On 8/14/07, Lenny Sorey [EMAIL PROTECTED] wrote:
   
 Hi Dan,

 Yep, should have sufficent bandwidth.

 I noticed that someone else was having buffering problems the other day as
 well.

 Here are reported items from Java 1.6 JConsole

 **

 Name: ClientNotifForwarder-1
 State: RUNNABLE
 Total blocked: 0  Total waited: 0

 Stack trace:
 java.net.SocketInputStream.socketRead0(Native Method)
 java.net.SocketInputStream.read(SocketInputStream.java:129)
 java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
 java.io.BufferedInputStream.read (BufferedInputStream.java:237)
- locked [EMAIL PROTECTED]
  - This caught my attention
 java.io.DataInputStream.readByte(DataInputStream.java:248)
 sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
 sun.rmi.server.UnicastRef.invoke(UnicastRef.java :142)
 com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
 javax.management.remote.rmi.RMIConnectionImpl_Stub.fetchNotifications(Unknown
 Source)
 javax.management.remote.rmi.RMIConnector$RMINotifClient.fetchNotifs (
 RMIConnector.java:1291)
 com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNotifs(
 ClientNotifForwarder.java:503)
 com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run(
 ClientNotifForwarder.java :395)
 com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor$1.run(
 ClientNotifForwarder.java:83)

 ***


 Name: RMI TCP Connection(2)-10.2.0.15
 State: RUNNABLE
 Total blocked: 24  Total waited: 0

 Stack trace:
 java.net.SocketInputStream.socketRead0(Native Method)
 java.net.SocketInputStream.read(SocketInputStream.java:129)
 java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
 java.io.BufferedInputStream.read (BufferedInputStream.java:237)
- locked [EMAIL PROTECTED]
 java.io.FilterInputStream.read(FilterInputStream.java:66)
 sun.rmi.transport.tcp.TCPTransport.handleMessages (TCPTransport.java:517)
 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(
 TCPTransport.java:790)
 sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java
 :649)
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask (
 ThreadPoolExecutor.java:885)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
 :907)
 java.lang.Thread.run(Thread.java:619)

 *


 Name: Thread-2
 State: TIMED_WAITING on [EMAIL PROTECTED]
 Total blocked: 0  Total waited: 7,802

 Stack trace:
 java.lang.Object.wait(Native Method)
 java.io.PipedInputStream.read(PipedInputStream.java:310)
 java.io.PipedInputStream.read(PipedInputStream.java:361)
 sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java :264)
 sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
 sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
- locked [EMAIL PROTECTED]
 java.io.InputStreamReader.read(InputStreamReader.java:167)
 java.io.BufferedReader.fill(BufferedReader.java:136)
 java.io.BufferedReader.readLine(BufferedReader.java:299)
- locked [EMAIL PROTECTED]
 java.io.BufferedReader.readLine(BufferedReader.java:362)
 sun.tools.jconsole.OutputViewer$PipeListener.run(OutputViewer.java:91)

 **

 Not sure what all this means.

 Regards,

 Lenny


 On 8/14/07, Dan Rossi [EMAIL PROTECTED]  wrote:
 
 Its rebuffering. This was a problem before for over a year because the
 net send buffer setting was too low, maybe its been reverted on your
 copy ? Surely your uplink is sufficient to stream these ?

 Lenny Sorey wrote:
   
 Hi Jake,

 Thanks for your response.

 Which stream are you talking about.

 All of them?

 Lenny


 On 8/14/07, Jake Hilton [EMAIL PROTECTED] wrote:

 
 It seemed stable enough.. but the stream was pretty choppy.. probably
   
 over
   
 use.

 Jake

 On 8/14/07, Lenny Sorey  [EMAIL PROTECTED] wrote:

   
  Got to playing with Milan Toth   tutorial regarding database
 connections and red5.

 I've got an example of this running at
 http://red5.fatdot.com/vidtest.html

 I am using the following for this app

 Tomcat 6.0.13
 Java 1.6
 Apache 2.2.4
 MySQL 5.0.47
 Flex 2.0 Player
 Server has 1 GB of RAM and 3.9 Intel CPU.

 Connection -  1 MB up and down.

 The Flex player is not fancy or pretty but will get the job done. -
 
 No
   
 volume control, No Pause, No playback

Re: [Red5] RES: CPU Usage still quite high

2007-08-13 Thread Dan Rossi
I think i got the same problem then.

It stalled again the other day had to reboot one of the machines. How do 
i debug it again ?

Steven Gong wrote:
 Interesting. So Sri, could you help to snapshot the stack trace when the
 server freezes on quartz? Thanks a lot.

 On 8/13/07, Sri Kalyanaraman [EMAIL PROTECTED] wrote:
   
 This problem once just was eating my head. In my experience, the quartz
 implementation causes somehow this freeze. I have written my own thread
 model avoiding quartz scheduler. There is no freezing anymore. I am
 using the trunk version 2124.

 -Sri
 Ed Wise wrote:
 
 Luiz may I ask, what kind of app are you using Red5 for?

 Ed Wise

 - Original Message -
 From: Luiz Filipe [EMAIL PROTECTED]
 To: red5@osflash.org
 Sent: Friday, August 10, 2007 1:25 AM
 Subject: [Red5] RES: CPU Usage still quite high



   
 Dan, we have one case for you.

 Our solution nowadays are supporting more than 1.500 concurrent users
 
 with
 
 a
 2 Dual Core Xeon with 4Gb RAM.
 Startup args are: -Xmx2048m -Xms2048m

 Regards,

 Luiz Filipe.

 -Mensagem original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome
 
 de
 
 Dan Rossi
 Enviada em: quarta-feira, 8 de agosto de 2007 15:46
 Para: Red5 public list
 Assunto: [Red5] CPU Usage still quite high


 High there, we are using the suggested startup args for garbage
 collection however the server is still chewing anything from 10-60%
 cpu,  and then on top of running other services like windows media and
 IIS its a little bit of a problem :)

 Is there anyway before finally the terracotta solution is out that we
 can improve this a little ? We only have 2GB of ram on each frontend
 machine we have so i can only set memory limits of 1024MB for two
 machines and the third machine is allocated 1500MB but its not
 
 suffering
 
 the resource hogging issue for other processes.


 Let me know.

 ___
 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


   
 ___
 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


Re: [Red5] RES: CPU Usage still quite high

2007-08-09 Thread Dan Rossi
Hi, we have single P4 frontend seervers with 2GB ram. I can only add 
this much. Its not just the ram its the CPU used up from the garbage 
collection.

-Xmx512m -Xms1024m


Luiz Filipe wrote:
 Dan, we have one case for you.

 Our solution nowadays are supporting more than 1.500 concurrent users with a
 2 Dual Core Xeon with 4Gb RAM.
 Startup args are: -Xmx2048m -Xms2048m

 Regards,

 Luiz Filipe.

 -Mensagem original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de
 Dan Rossi
 Enviada em: quarta-feira, 8 de agosto de 2007 15:46
 Para: Red5 public list
 Assunto: [Red5] CPU Usage still quite high


 High there, we are using the suggested startup args for garbage
 collection however the server is still chewing anything from 10-60%
 cpu,  and then on top of running other services like windows media and
 IIS its a little bit of a problem :)

 Is there anyway before finally the terracotta solution is out that we
 can improve this a little ? We only have 2GB of ram on each frontend
 machine we have so i can only set memory limits of 1024MB for two
 machines and the third machine is allocated 1500MB but its not suffering
 the resource hogging issue for other processes.


 Let me know.

 ___
 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


Re: [Red5] Don't catch people having a bad day

2007-08-09 Thread Dan Rossi
Yep I was thinking more of the lines of the wowza approach, and use a 
single file that the bootstrap parses and converts back to spring stuff 
or whatever. Ie Plugin whatever/

Dominick Accattato wrote:
 right,

 I don't think Steven is proposing the removal of Spring.  That 
 framework rocks, and its one of the best parts about developing a Red5 
 application once someone understands it.  However, creating a simple 
 application should not need to deal with creating 4 config files.  
 There should be defaults, and this is what I was proposing. 

 On 8/9/07, *nomIad* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 Hi,


  Red5 has been as dead as a duck for ages. It was crap at 0.6
 rc1 (30th November 2006) - full of bugs, slow as crap as well.

 F***, thats really heavy. Bad, bad bad. Yes red5 has some bugs,
 but, their all fixed really fast.
 The spring framework offers great possibilitys and its very easy
 to integrate and work with.
 I think red5 is till now not the best VOD server but ive no
 problems at all with RTMP. Works quite fast, and im looking
 forward to integrate it in some interesting projects.
 The open code base offers the possibilty to understand the
 behaviors of red5. Ive developed some FMS apps, but they were
 never as big or flexible as the ones im developing on Red5.

 Hey, guys, your doing really a great job. I think the limit of
 red5 is not reached so for now, it meet my needs.

 Never the less, i will take a look on wowza just for my opinion.

 cu nomIad

 Dominick Accattato schrieb:
 
 http://www.flashcomguru.com/index.cfm/2007/1/11/Wowza-Media-Server-Public-Beta

 -- 
 Dominick Accattato, CTO
 Infrared5 Inc.
 www.newviewnetworks.com http://www.newviewnetworks.com
 

 ___
 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




 -- 
 Dominick Accattato, CTO
 Infrared5 Inc.
 www.newviewnetworks.com http://www.newviewnetworks.com
 

 ___
 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


Re: [Red5] Don't catch people having a bad day

2007-08-08 Thread Dan Rossi
As I prob said before, I'd presonally like to see a marriage of the two 
projects rather than a splitter view of things, forcing them to poach 
some of you :P Yes it happens and I cant stand the big guns poaching all 
these web 2.0 sites then killing them not long after.

I think ive shown with the bandwidth app,  transparently how its 
possible to work with these guys, even though it would have been nice to 
have more communication with them about it :) Even though the bandwidth 
app is crap, it wont work over latency connections, slow machines and 
lans, needs a better implementation.

Steven Gong wrote:
 Well, considering that he's expressed his apology, let's look over 
 that crap this time...

 On 8/8/07, *Rob Schoenaker*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Oh dear so its crap then. Time to jump ship then ? :)

 Yeah, it's that crappy, that I even decided to port it to C#...
 Craps 'R
 Us!

 /Rob

 ___
 Red5 mailing list
 Red5@osflash.org mailto:Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org




 -- 
 Best Regards
 Steven Gong

 Intel Asia-Pacific RD SSG BIOS Engineer
 No. 880, Zi Xing Road, Shanghai, China
 Work Phone: +86-021-61166787
 Work Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 InfraRed5 Red5 Consultant: 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] Live cam dropping frames after update

2007-08-08 Thread Dan Rossi
Hi ive updated to the latest svn to fix a memory leak problem which was 
making the server hang constantly. Doing so has cause dropping frame 
problems on live streams again, every 4 seconds or so, its actually a 
little random.

Anyone else experiencing this ?

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Don't catch people having a bad day

2007-08-08 Thread Dan Rossi
Mondain wrote:
 OMG.. Let me start by saying I am glad I read George's second comment 
 before I wrote this email. I have never loaded Wowza and I dont plan 
 on it; I cannot comment on their server but would be curious how they 
 run a million times faster than Red5!! Are they using Java version 
 99.0? :)

Am I the only one then that has done extensive comparison testing of the 
3 the past year, alot in my spare time too :\ Comeon load it, you know 
you want to :). One thing i have to comment on is its easy xml configs. 
No spring framework xml config knowledge required.


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] CPU Usage still quite high

2007-08-08 Thread Dan Rossi
High there, we are using the suggested startup args for garbage 
collection however the server is still chewing anything from 10-60% 
cpu,  and then on top of running other services like windows media and 
IIS its a little bit of a problem :)

Is there anyway before finally the terracotta solution is out that we 
can improve this a little ? We only have 2GB of ram on each frontend 
machine we have so i can only set memory limits of 1024MB for two 
machines and the third machine is allocated 1500MB but its not suffering 
the resource hogging issue for other processes.


Let me know.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Long Audio-Only Flv Playback - BUGFIX UNDER WAY

2007-08-08 Thread Dan Rossi
This is insane, I think this may solve some of our problems aswell with 
our larger videos which are over 200MB each.

Niels Joubert wrote:
 Hello Adam and other Red5 Users

 This is a known issues with Red5's IO capability, and I am currently 
 working on a patch that will fix all these issues.

 Red5 builds index files that represents the keyframes and corresponding 
 byte-offsets of the media you are playing. You can open up the index 
 files with a XML editor and see this. The problem with this approach is 
 that XML is ridiculously slow for long lists of data (we're talking 
 about 10 000 + entries) and Red5 keeps all these lists in memory, 
 synchronizing it with the disk-based version.

 When you open a file for the first time, Red5 runs through the whole 
 file, finding keyframes (or, in the case of music, EVERY frame), and 
 corresponding byte offsets, making a list in memory of this, and finally 
 writing it to disk.

 When you open a file that has an index, on your first seek, Red5 loads 
 the whole XML file into memory (For a 4 hour video, anything between 3 
 and 10 MB of XML) before pushing the seek - which it does by seeking 
 linearly, from the start of the file, to find the closes keyframe. This 
 means that each file being opened can take 10MB of memory easily if 
 you're using big video files.

 Unfortunately this is a slowdown and causes memory bloat with big files. 
 I have patched Red5 to use a fast binary-based disk index file, that 
 keeps as little information as possible in memory, and does smarter 
 seeking. I routinely throw full-length movies in 1080p at it and it 
 happily spins through them. This patch is almost ready for inclusion in 
 Red5, at the moment i'm working on making it multi-threaded, so that 
 there's no wait when a file loads, and the index gets built in the 
 background.

 Hopefully this will be integrated soon, but at this point in time, your 
 best bet is to connect, and wait until the index file is built (it keeps 
 building even if the client gets disconnected) and connect again if the 
 index file is done building. Look at the changing filesize on disk of 
 the index to see when it's done.

 good luck, we'll have this part of Red5 blazing soon enough! My initial 
 tests show that I can open 4000 files at the same time with a memory 
 overhead of about 40Mb.

 Adam wrote:
   
 Oh, and I tested with Red5 pulled out of the Trunk today,
 so I should be using the latest version here. It's failing
 on my Mac, and also on the Windows machine (though probably
 not with the trunk release over there).

 Thanks again,

  Adam..

 On Wed, Aug 08, 2007 at 04:10:20PM +0100, Adam wrote:
   
 
 So nearing a functionally complete version of my software, 
 and actually using it for it's intended purpose a little
 rather than doing quick tests, we've come across a large 
 problem. Or at least a problem with large files.

 Playing an audio-only .flv file works well, until the 
 file is more than about 45 minutes long. Then it really
 slows things down during some initializating phase before
 reporting Closing RTMPMinaConnection from 127.0.0.1:49372
 to localhost (in: 3427, out: 3262) due to too much 
 inactivity (1186585160652)

 Here's a stripped down program that shows my problem here:
 ---
 ncStatus=function(info){
   trace(Net Connection Status Change: Level+info.level+  
 Code:+info.code);
   if(info.code==NetConnection.Connect.Success){
 trace(Connection Complete - playing);
 _root.aud_ns.play(test.flv);
   }
 }

 trace(Createing New Netstream);
 _root.nc = new NetConnection();
 _root.nc.onStatus = ncStatus;
 _root.nc.connect(rtmp://localhost/test);
 _root.aud_ns = new NetStream(_root.nc);
 ---

 Nothing too complicated there as you can see. When the
 webapps/test/test.flv file is less than 30 minutes long, 
 it works without trouble. When it's greater than 60 minutes
 it consistantly fails with that error.

 Is this a known bug? Should I put in a bug report? Anyone
 got any clues on any workarounds I might be able to use?
 I'm supposed to be demoing this project in about 3 weeks.
 Eeep.

 Thanks for your help,

 Adam
 
   
 ___
 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


Re: [Red5] Don't catch people having a bad day

2007-08-08 Thread Dan Rossi
Steven Gong wrote:
 I believe it's a good idea to make a version without spring. 

Well that would make management and maintainance quite impossible correct ?
 The spring beans make clustering configuration much more difficult.

I dont have a problem with spring, using a framework is better than 
re-engineering something. If there was a config loader that could 
interface with spring and use more user friendly xml that could be an 
idea. Ie take a look at wowzas approach to implementing plugins or 
beans. Ie a logging plugin.

 On 8/9/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Mondain wrote:
  OMG.. Let me start by saying I am glad I read George's second
 comment
  before I wrote this email. I have never loaded Wowza and I dont plan
  on it; I cannot comment on their server but would be curious how
 they
  run a million times faster than Red5!! Are they using Java version
  99.0? :)

 Am I the only one then that has done extensive comparison testing
 of the
 3 the past year, alot in my spare time too :\ Comeon load it, you
 know
 you want to :). One thing i have to comment on is its easy xml
 configs.
 No spring framework xml config knowledge required.


 ___
 Red5 mailing list
 Red5@osflash.org mailto:Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org




 -- 
 Best Regards
 Steven Gong

 Intel Asia-Pacific RD SSG BIOS Engineer
 No. 880, Zi Xing Road, Shanghai, China
 Work Phone: +86-021-61166787
 Work Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 InfraRed5 Red5 Consultant: 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


Re: [Red5] Live cam dropping frames after update

2007-08-08 Thread Dan Rossi
Its really bad, its reverted back to the same problems 3 months ago. 
Drop frames every 4 seconds. Then ill get a good 30seconds to a minute 
before more dropped frames. We tested using Flash Media encoder, its 
compression is a little different and frames were smoother but would 
drop now and then. Using the flash player its pretty bad unless the 
quality is bought all the way down I guess until its hard to see. The 
issue with Flash Media Encoder is it wont archive on the server !

Dan Rossi wrote:
 Hi ive updated to the latest svn to fix a memory leak problem which was 
 making the server hang constantly. Doing so has cause dropping frame 
 problems on live streams again, every 4 seconds or so, its actually a 
 little random.

 Anyone else experiencing this ?

 ___
 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] Bufferunderflow exception causes server to hang

2007-08-08 Thread Dan Rossi
Hi just got this coming through, causing the server to hang. Is there a 
way to trap it hanging and reboot the service ?

INFO   | jvm 1| 2007/08/08 14:14:10 | [ERROR] 465181567 
pool-3-thread-9:( 
org.red5.server.messaging.InMemoryPullPullPipe.pullMessage ) exception 
when pulling message from provider
INFO   | jvm 1| 2007/08/08 14:14:10 | java.nio.BufferUnderflowException
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
java.nio.Buffer.nextGetIndex(Unknown Source)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
java.nio.HeapByteBuffer.getInt(Unknown Source)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.common.support.BaseByteBuffer.getInt(BaseByteBuffer.java:323)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.io.flv.impl.FLVReader.readTagHeader(FLVReader.java:748)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.io.flv.impl.FLVReader.readTag(FLVReader.java:525)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.stream.provider.FileProvider.pullMessage(FileProvider.java:132)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.messaging.InMemoryPullPullPipe.pullMessage(InMemoryPullPullPipe.java:75)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.pullAndPush(PlaylistSubscriberStream.java:1404)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.access$400(PlaylistSubscriberStream.java:786)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.stream.PlaylistSubscriberStream.written(PlaylistSubscriberStream.java:593)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.net.rtmp.BaseRTMPHandler.messageSent(BaseRTMPHandler.java:222)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageSent(RTMPMinaIoHandler.java:181)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageSent(AbstractIoFilterChain.java:716)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(AbstractIoFilterChain.java:391)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(AbstractIoFilterChain.java:806)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:251)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:307)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO   | jvm 1| 2007/08/08 14:14:10 | at 
java.lang.Thread.run(Unknown Source)
INFO   | jvm 1| 2007/08/08 17:27:56 | [ERROR] 476807677 
DefaultQuartzScheduler_Worker-3:( 
org.red5.server.scheduling.QuartzSchedulingService.execute ) Job 
[EMAIL PROTECTED] execution 
failed: null
STATUS | wrapper  | 2007/08/09 00:04:05 | -- Wrapper Stopped



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Don't catch people having a bad day

2007-08-07 Thread Dan Rossi
Oh dear so its crap then. Time to jump ship then ? :)

Dominick Accattato wrote:
 http://www.flashcomguru.com/index.cfm/2007/1/11/Wowza-Media-Server-Public-Beta

 -- 
 Dominick Accattato, CTO
 Infrared5 Inc.
 www.newviewnetworks.com http://www.newviewnetworks.com
 

 ___
 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] archive to network drive still a problem ?

2007-08-06 Thread Dan Rossi
Hi we are still suffering flakey performance issues trying to archive to 
a network drive. We have a computer on the gigabit network which has a 
Dell MD1000 rack attached to it with SAS drives in it. We then have 
another machine loading the shared drive using a UNC path to the drive. 
Archiving is simply not possible the stream wont start and there is no 
errors other than the exception errors i posted before. We can only 
archive to the local disc. Any reasons for this ?

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] live delay growth on localhost

2007-07-26 Thread Dan Rossi
Hmm stream buffer to 0.2 maybe , what do you have it set to currently ? 
I think it defaults to 0.2 anyway so setting the buffer can be ommitted.

Alexey wrote:
 Hello, liveDelay growths to 1.3 sec on localhost and then stops... How 
 this number can be reduced... i need delay  1 sec... It's very 
 important in my case. Any suggestions?
 

 ___
 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


Re: [Red5] live delay growth on localhost

2007-07-26 Thread Dan Rossi
Ok, well I kinda find that in the acceptible range dont you think ? Lip 
syncing at that delay still seems Ok, I'd be worried about 10 seconds or 
more though.
 
Storm wrote:
 I think he means that delay stops growing.

 On 7/26/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 What do you mean grows 1.3 sec then stops. The stream stops or the
 buffering stops and then no camera is viewing on the client side ?
 Camera connecting ok on the broadcaster application ?

 Alexey wrote:
  i don't set anything. Left as it is. I'm using 8Khz audio only.
 And it
  growths till 1.3 sec then stops
  - Original Message -
  From: Dan Rossi [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  To:  red5@osflash.org mailto:red5@osflash.org
  Sent: Thursday, July 26, 2007 11:48 AM
  Subject: Re: [Red5] live delay growth on localhost
 
 
 
  Hmm stream buffer to 0.2 maybe , what do you have it set to
 currently ?
  I think it defaults to 0.2 anyway so setting the buffer can be
 ommitted.
 
  Alexey wrote:
 
  Hello, liveDelay growths to 1.3 sec on localhost and then
 stops... How
  this number can be reduced... i need delay  1 sec... It's very
  important in my case. Any suggestions?
 
 

 
  ___
  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
 
 
  __ NOD32 2414 (20070723) Information __
 
  This message was checked by NOD32 antivirus system.
  http://www.eset.com
 
 
 
 
 
  ___
  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
 http://osflash.org/mailman/listinfo/red5_osflash.org




 -- 
 ---
 If a man speaks in a forest and his wife is not there, is he still wrong?
 

 ___
 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


Re: [Red5] live delay growth on localhost

2007-07-26 Thread Dan Rossi
Hi mate, does the frames drop on you which is causing that delay ? If so 
id play around also with the video quality setting and possibly video 
size also.

Alexey wrote:
 Oh... it's OK now ))
 - Original Message - 
 From: Alexey [EMAIL PROTECTED]
 To: red5@osflash.org
 Sent: Thursday, July 26, 2007 11:53 AM
 Subject: Re: [Red5] live delay growth on localhost


   
 i don't set anything. Left as it is. I'm using 8Khz audio only. And it
 growths till 1.3 sec then stops
 - Original Message - 
 From: Dan Rossi [EMAIL PROTECTED]
 To: red5@osflash.org
 Sent: Thursday, July 26, 2007 11:48 AM
 Subject: Re: [Red5] live delay growth on localhost


 
 Hmm stream buffer to 0.2 maybe , what do you have it set to currently ?
 I think it defaults to 0.2 anyway so setting the buffer can be ommitted.

 Alexey wrote:
   
 Hello, liveDelay growths to 1.3 sec on localhost and then stops... How
 this number can be reduced... i need delay  1 sec... It's very
 important in my case. Any suggestions?
 

 ___
 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


 __ NOD32 2414 (20070723) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com


   
 ___
 Red5 mailing list
 Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org


 __ NOD32 2414 (20070723) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com


 


 ___
 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] exception errors causing server hang ?

2007-07-26 Thread Dan Rossi
Hi we havent updated svn for a little while, however im hoping there is 
a reason for these exception errors. There is thousands of error logs, 
and since a month without a reboot its caused one of the servers to 
hang. Is there anyway to keep an eye on this. Would the jetty server 
also be inaccessible ? The reason is the monitor sees the ports still 
open however one of the servers isn't accepting connections !

http://jira.red5.org/browse/SN-42

Let me know thanks heaps.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Append mode broken...

2007-07-25 Thread Dan Rossi
Hi mate, you will have to update to the latest 0.6 release and it should 
be fine.

Md Rafiqul Islam wrote:
 Thanks* Dan Rossi* for your quick reply.
  
 I am using Red5 0.5 version.
  
 In the following method of */StreamService.java/* 
 I called *bs.saveAs(name, true);* methon when MODE is live.
  
  
  public void publish(String name, String mode) {
 log.info(StreamService Publish 2 param-- mode:+mode+ ,name 
 : +name);
 IConnection conn = Red5.getConnectionLocal();
 if (!(conn instanceof IStreamCapableConnection)) return;
 IStreamCapableConnection streamConn = 
 (IStreamCapableConnection) conn;
 int streamId = getCurrentStreamId();
 IClientStream stream = streamConn.getStreamById(streamId);
 if (stream != null  !(stream instanceof 
 IClientBroadcastStream)){
log.info(return from StreamService Publish 2 param-- 
 mode:+mode+ ,name : +name);
 return;
 }
 else
 log.info(StreamService Publish 2 param-- mode:+mode+ ,name 
 : +name);
 if (stream == null)
 stream = streamConn.newBroadcastStream(streamId);
 IClientBroadcastStream bs = (IClientBroadcastStream) stream;
 try {
 if (IClientStream.MODE_RECORD.equals(mode)) {
 bs.start();
 bs.saveAs(name, true);
 } else if (IClientStream.MODE_APPEND.equals(mode)) {
 bs.start();
 bs.saveAs(name, true);
 } else if (IClientStream.MODE_LIVE.equals(mode)) {
 IContext context = conn.getScope().getContext();
 IProviderService providerService = (IProviderService) 
 context.getBean(IProviderService.KEY);
 bs.setPublishedName(name);
 // TODO handle registration failure
 if 
 (providerService.registerBroadcastStream(conn.getScope(), name, bs)) {
 IBroadcastScope bsScope = 
 getBroadcastScope(conn.getScope(), bs.getPublishedName());
 
 bsScope.setAttribute(IBroadcastScope.STREAM_ATTRIBUTE, bs);
 if (conn instanceof BaseConnection)
 ((BaseConnection) 
 conn).registerBasicScope(bsScope);
 }
 bs.start();
 *bs.saveAs(name, true);  //added by me to save 
 *   
 }
 } catch (Exception e) {
 // TODO report publish error
 }
 }
 I got that exception is coming from
 *analyzeKeyFrames()*  method of   *FLVReader.java.*

 ** 

 *so, any idea without changing version ?*

 ** 

 *Thanks*

 *Md. Rafiqul Islam*

 ** 

 ** 


 - Original Message 
 From: Dan Rossi [EMAIL PROTECTED]
 To: Md Rafiqul Islam [EMAIL PROTECTED]
 Cc: red5@osflash.org
 Sent: Tuesday, July 24, 2007 12:03:34 PM
 Subject: Re: [Red5] Append mode broken...

 Hi I think that may have been fixed a while back, you might need to
 update your version, what is it ? We had this problem not even after a
 minute of a recording. It could have been a problem im not sure. Our
 problem now is appending a 1HR 100MB or so file over a network drive, it
 has to be local for now very unstable, it will reject the reconnect /
 append as what has happened the publsiher would randomly disconnect
 around 30 mins and then isnt able to reconnect.

 Md Rafiqul Islam wrote:
  Hi all,
   
  When I was going to save my stream in appending mode, I am getting
  following exception.
   
  New position exceeds limit
  [ERROR] 315015 pool-1-thread-11:(
  org.red5.server.stream.consumer.FileConsumer.e
  rror ) error init file consumer
  I got a similar posting by *Dan Rossi* spam at electroteque.org
  
 mailto:Red5%40osflash.org?Subject=%5BRed5%5D%20append%20mode%20brokenIn-Reply-To=7d3cd4a50612171849he19b4f0k7e2b4f38be58b643%40mail.gmail.com
  
 but
  may not replied by anyone.
   
  So, Dan Rossi, if you solved the problem then please help.
   
  Regards
  Rafiq
 
  
  Choose the right car based on your needs. Check out Yahoo! Autos new
  Car Finder tool.
  
 http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--%20


 
 Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge 
 http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222to 
 see what's on, when. 


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Multiple Red5 servers

2007-07-25 Thread Dan Rossi
Steven Gong wrote:

 Of course, there's no available working caching proxy server at hand. 
 Most of the things in the Edge/Origin solution have to be accomplished 
 my ourselves.

Hi steve maybe squid or apache's mod proxy is a possibility. Anyway as 
ive discovered in the past. Mod proxy is taxing on performance because 
of the reverse dns lookups or whatever its doing internally.


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Multiple Red5 servers

2007-07-25 Thread Dan Rossi
Yes I thought maybe it might be easier to use bits of these technologies 
to help with the caching elements of the edge servers from the origin 
application. Would this be for caching content, or just objects etc ? 
Whatever happened to the caching functionality that was removed, maybe 
thats all that is needed ? Anyway when I get back from leave ill check 
out your svn changes very exciting !

Steven Gong wrote:
 Dan,

 On 7/25/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Steven Gong wrote:
 
  Of course, there's no available working caching proxy server at
 hand.
  Most of the things in the Edge/Origin solution have to be
 accomplished
  my ourselves.
 
 Hi steve maybe squid or apache's mod proxy is a possibility. Anyway as
 ive discovered in the past. Mod proxy is taxing on performance because
 of the reverse dns lookups or whatever its doing internally.


 Thanks for the information. The caching proxy I mentioned refers to 
 the Edge server.

 ___
 Red5 mailing list
 Red5@osflash.org mailto:Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org




 -- 
 I cannot tell why this heart languishes in silence. It is for small 
 needs it never asks, or knows or remembers.  -- Tagore

 Best Regards
 Steven Gong
 

 ___
 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


Re: [Red5] Red5 + Terracotta -- A Preview Version of Remote SharedObject Clustering Prototype is available on SVN

2007-07-25 Thread Dan Rossi
We can definitely apply this in production once most things are nutted 
out assuming its also revertable in case of problems, and produce some 
feedback. I'm really not sure if there is a way to test such a thing on 
our scale without sending it live first :)

Storm wrote:
 wow steve great job, Red5 is doing a huge step to usability in high 
 load scenarios. A few guys on the list sure will be happy with this 
 quick progress. Congrats

 Cheers

 Carlos

 On 7/25/07, *Steven Gong* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi all,
 I have just committed a preview version of Remote SharedObject
 clustering code to SVN on branch:

 http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering
 http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering

 This implementation is based on the idea to cluster the whole
 scope tree without explicit Terracotta hack to the code base.
 Great thanks to original work from Terracotta buddies, especially
 Orion Letizi. There're still bugs though (some life-cycle issues
 of Scope and some init issues of SO) but you can see the RSO
 clustering works on two nodes.

 How to play around with it on Eclipse?
 * Download and install the latest version of Terracotta Eclipse
 plugin. (2.4.0)
 * Check out the branch from SVN and create the Red5 TC
 application. (Using Standalone)
 * Start the TC server
 * Start the Red5 TC application (Node 1). The port is 1935.
 * Start the Red5 TC application again (Node 2). The port is
 1935+1=1936.
 * Run BallControl demo to connect to 1935.
 * Run another BallControl demo to connect to 1936.
 * Move the ball and you will see it moving on another BallControl
 window and vice versa.

 Welcome to any feedbacks. Thanks ahead!

 -- 
 I cannot tell why this heart languishes in silence. It is for
 small needs it never asks, or knows or remembers.  -- Tagore

 Best Regards
 Steven Gong
 ___
 Red5 mailing list
 Red5@osflash.org mailto:Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org




 -- 
 ---
 If a man speaks in a forest and his wife is not there, is he still wrong?
 

 ___
 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


Re: [Red5] A couple how tos

2007-07-25 Thread Dan Rossi
Damn seems like it is unix specific with inetd, and its using mod proxy 
which I've mentioned before after profiling it I've noticed it to be 
quite taxing on performance. I'm pretty sure there was another way to 
get rtmps working, is it not already in the docs yet ?

Dan Rossi wrote:
 Jason Powell wrote:
   
 Hey everyone

 I've put up a couple quick how-tos based on what I've learned playing
 around with Red5 on http://www.hatestheinternet.com

 For Ben, this one describes how I got RTMPS/RTMPT working:
 http://www.hatestheinternet.com/read.php?id=1185391035
   
 

 Good stuff checking this out.
   
 As I play around I'll probably put up more.

 The site's hosted on my crappy home DSL connection 
 

 I thought Australian was the only place that had crappy connections :)



 ___
 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


Re: [Red5] A couple how tos

2007-07-25 Thread Dan Rossi
Jason Powell wrote:
 Hey everyone

 I've put up a couple quick how-tos based on what I've learned playing
 around with Red5 on http://www.hatestheinternet.com

 For Ben, this one describes how I got RTMPS/RTMPT working:
 http://www.hatestheinternet.com/read.php?id=1185391035
   

Good stuff checking this out.
 As I play around I'll probably put up more.

 The site's hosted on my crappy home DSL connection 

I thought Australian was the only place that had crappy connections :)



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 + Terracotta -- A Preview Version of Remote SharedObject Clustering Prototype is available on SVN

2007-07-25 Thread Dan Rossi
Orion Letizi wrote:
 Dan, taking Terracotta in and out is usually as simple as adding or removing
 some JVM arguments from the java startup command.  I do that all the time to
 test whether clustering is working by looking at the counter case.

   
Ok thanks for that sounds easy. We use the java service wrapper for 
windows 2003 servers and add the arguments for extra stuff in its config.


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Append mode broken...

2007-07-24 Thread Dan Rossi
Hi I think that may have been fixed a while back, you might need to 
update your version, what is it ? We had this problem not even after a 
minute of a recording. It could have been a problem im not sure. Our 
problem now is appending a 1HR 100MB or so file over a network drive, it 
has to be local for now very unstable, it will reject the reconnect / 
append as what has happened the publsiher would randomly disconnect 
around 30 mins and then isnt able to reconnect.

Md Rafiqul Islam wrote:
 Hi all,
  
 When I was going to save my stream in appending mode, I am getting 
 following exception.
  
 New position exceeds limit
 [ERROR] 315015 pool-1-thread-11:(
 org.red5.server.stream.consumer.FileConsumer.e
 rror ) error init file consumer
 I got a similar posting by *Dan Rossi* spam at electroteque.org 
 mailto:Red5%40osflash.org?Subject=%5BRed5%5D%20append%20mode%20brokenIn-Reply-To=7d3cd4a50612171849he19b4f0k7e2b4f38be58b643%40mail.gmail.com
  but 
 may not replied by anyone.
  
 So, Dan Rossi, if you solved the problem then please help.
  
 Regards
 Rafiq

 
 Choose the right car based on your needs. Check out Yahoo! Autos new 
 Car Finder tool. 
 http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--%20
  



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Edge/Origin Solution based on Terracotta

2007-07-22 Thread Dan Rossi
Hi steve this is a killa scope thanks. I think the peeps posted their 
findings about implementing TC but it required source hacking, is this 
still the case ?

What you are proposing, is that 3 load balanced edge machines , 1 TC 
machine, and 3 origin machines are required ? Our setup is 3 seperate 
dedicated load balanced machines, and one controller machine connected 
to a NAS, how could that work in this case ?

Steven Gong wrote:
 Hi,
 I've just put a wiki page to document the Edge/Origin solution based 
 on Terracotta. FYI

 http://jira.red5.org/confluence/display/CLU/Edge+Origin+Solution+on+Terracotta
  
 http://jira.red5.org/confluence/display/CLU/Edge+Origin+Solution+on+Terracotta

 With the help of Orion and Steve from Terracotta, I put an additional 
 chapter Performance Consideration at the bottom for further 
 revision. Hope that TC experts can take a look and make some comments. 
 Thanks.

 -- 
 I cannot tell why this heart languishes in silence. It is for small 
 needs it never asks, or knows or remembers.  -- Tagore

 Best Regards
 Steven Gong
 

 ___
 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


Re: [Red5] Any updates on serverStream yet

2007-07-20 Thread Dan Rossi
Do you mean dropped frames ? Since last year i had an issue rotating the 
playlist as in it wouldnt work correctly . Either the time it switched 
was either too early or too late and eventually it would just become a 
mess and crash the player, it was a funny sight though I had to record 
the digitze glitches because it was like it was in super fast forward.

serverStream = StreamUtils.createServerStream(appScope, live0);
serverStream.start();

is that all the code or partial ?

Lenny Sorey wrote:
 Hello all,
  
 Was just wondering if there has been any updates or anyone been successful
 with stabilizing RED5's serverStream?
  
 Currently, I am still getting a lot of stuttering and hesitation 
 with audio and video in the serverstream app
 I am working with.
  
 serverStream = StreamUtils.createServerStream(appScope, live0);
 serverStream.start();
  
 If this is still an issue in JIRA, please accept my apologies for my 
 oversight
 in missing this when I looked through JIRA.
  
 Thanks!!
  
 Lenny
 

 ___
 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


Re: [Red5] Any updates on serverStream yet

2007-07-20 Thread Dan Rossi
Lenny Sorey wrote:
 Hi Dan,
  
 I mean the audio will stutter at times and the video will lag.
Thats the problem I was getting it was more of a glitch than a stutter 
though, and the video was all glitchy too.

Nice one , I had intentions of testing loading files from a resource. 
This is great well done.

  
 I can send you this project if you wish to take a look.
  
 The flash piece is in Flex 2.
  
 Currently, it is in the JIRA Demo area waiting approval as a demo.
  
 Here is the entire java code from the Application.java file:
  
 Let me know if you see anything out of the ordinary.


I may extend this maybe, ie with windows media server side streams, u 
can include a source in the xml playlist with an item which is a 
directory resource, it will include all files in that. Then u can also 
add another item which is a single resource and it will play after the 
others are finished.

Wonder how you could make this updatable in the runtime without a restart ?

Only problem is what is the timer stuff for, and im not sure how the 
updateplaylist is working is that right ? Well you dont have it set to 
random thats for sure so im not sure what the problem is. I gave up on 
this stuff ages ago to wait until itz more stable :)

  

 package org.red5.server.webapp.tv http://org.red5.server.webapp.tv;

 import java.util.Timer;

 import org.red5.server.adapter.*;
 import org.red5.server.api.IConnection;
 import org.red5.server.api.IScope;
 import org.red5.server.api.stream.IServerStream;
 import org.red5.server.api.stream.support.SimplePlayItem ;
 //import org.red5.server.api.stream.IBroadcastStream;


 import org.red5.server.api.stream.support.StreamUtils;
 import org.springframework.core.io.Resource;


 public class Application extends ApplicationAdapter {
  public IScope appScope;
  public IServerStream serverStream;
  private SimplePlayItem item;
  
  /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] } */
 @Override
  public boolean appStart(IScope app) {
  Timer timer = new Timer();
  log.debug(Application start);
  appScope = app;
   serverStream = StreamUtils.createServerStream (appScope, live0);
   getList();
   serverStream.start();
   PlayTester plTester = new PlayTester();
   plTester.setApplication(this);
   timer.schedule(plTester, 0, 500);
   
   return true;
  }

  /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]} */
 @Override
  public boolean appConnect(IConnection conn, Object[] params) {
   measureBandwidth(conn);
   log.debug(Client: +conn.getHost()+ connected);
   log.debug(ID: +conn.getClient().getId());
   return super.appConnect(conn, params);
  }

  /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]} */
 @Override
  public void appDisconnect(IConnection conn) {
  log.debug(Client: +conn.getHost()+ disconnected);
   super.appDisconnect (conn);
  }

 @Override
 public void appStop(IScope app) {
  if (appScope == app  serverStream != null) {
serverStream.close();
   }
  super.appStop(app);
 }

public synchronized  boolean getList() {
   try {
log.debug(getting the FLV files);
Resource[] flvs = appScope.getResources(streams/*.flv);
if (flvs != null) {
 serverStream.removeAllItems ();
 for (Resource flv : flvs) {
  String flvName = flv.getFile().getName();
  item = new SimplePlayItem();
  item.setName(flvName);
  serverStream.addItem(item); 
  log.debug(flvName:  + flvName);
 }
}
   }catch (Exception e) {
log.error(e);
   }
   return true;
  }

 public void updatePlaylist()
 {
   getList();
   serverStream.setItem(0);
 }
 
 }

  

 Regards,

 Lenny

  


  
 On 7/20/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Do you mean dropped frames ? Since last year i had an issue
 rotating the
 playlist as in it wouldnt work correctly . Either the time it
 switched
 was either too early or too late and eventually it would just become a
 mess and crash the player, it was a funny sight though I had to record
 the digitze glitches because it was like it was in super fast
 forward.

 serverStream = StreamUtils.createServerStream(appScope, live0);
 serverStream.start();

 is that all the code or partial ?

 Lenny Sorey wrote:
  Hello all,
 
  Was just wondering if there has been any updates or anyone been
 successful
  with stabilizing RED5's serverStream?
 
  Currently, I am still getting a lot of stuttering and hesitation
  with audio and video in the serverstream app
  I am working with.
 
  serverStream = StreamUtils.createServerStream(appScope, live0);
  serverStream.start();
 
  If this is still an issue in JIRA, please accept my apologies for my
  oversight
  in missing this when I looked through JIRA.
 
  Thanks!!
 
  Lenny

Re: [Red5] Any updates on serverStream yet

2007-07-20 Thread Dan Rossi
Our cam player goes fullscreen, and no dropped frames.

joseph wamicha wrote:
 Hi,

 The reason for not being able to go full screen is that red5 playlist 
 mode plays the video in live mode. It therefore does not send any 
 metadata to the flex player for full-screen mode and for seeking 
 through the video.

 On 7/20/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Lenny Sorey wrote:
  Hi Dan,
 
  I mean the audio will stutter at times and the video will lag.
 Thats the problem I was getting it was more of a glitch than a stutter
 though, and the video was all glitchy too.

 Nice one , I had intentions of testing loading files from a resource.
 This is great well done.

 
  I can send you this project if you wish to take a look.
 
  The flash piece is in Flex 2.
 
  Currently, it is in the JIRA Demo area waiting approval as a demo.
 
  Here is the entire java code from the Application.java file:
 
  Let me know if you see anything out of the ordinary.


 I may extend this maybe, ie with windows media server side streams, u
 can include a source in the xml playlist with an item which is a
 directory resource, it will include all files in that. Then u can
 also
 add another item which is a single resource and it will play after the
 others are finished.

 Wonder how you could make this updatable in the runtime without a
 restart ?

 Only problem is what is the timer stuff for, and im not sure how the
 updateplaylist is working is that right ? Well you dont have it set to
 random thats for sure so im not sure what the problem is. I gave up on
 this stuff ages ago to wait until itz more stable :)

 
 
  package org.red5.server.webapp.tv
 http://org.red5.server.webapp.tv http://org.red5.server.webapp.tv;
 
  import java.util.Timer;
 
  import org.red5.server.adapter.*;
  import org.red5.server.api.IConnection;
  import org.red5.server.api.IScope;
  import org.red5.server.api.stream.IServerStream;
  import org.red5.server.api.stream.support.SimplePlayItem ;
  //import org.red5.server.api.stream.IBroadcastStream;
 
 
  import org.red5.server.api.stream.support.StreamUtils;
  import org.springframework.core.io.Resource;
 
 
  public class Application extends ApplicationAdapter {
   public IScope appScope;
   public IServerStream serverStream;
   private SimplePlayItem item;
 
   /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] } */
  @Override
   public boolean appStart(IScope app) {
   Timer timer = new Timer();
   log.debug(Application start);
   appScope = app;
serverStream = StreamUtils.createServerStream (appScope, live0);
getList();
serverStream.start();
PlayTester plTester = new PlayTester();
plTester.setApplication(this);
timer.schedule(plTester, 0, 500);
 
return true;
   }
 
   /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]} */
  @Override
   public boolean appConnect(IConnection conn, Object[] params) {
measureBandwidth(conn);
log.debug(Client: +conn.getHost()+ connected);
log.debug(ID: +conn.getClient().getId());
return super.appConnect(conn, params);
   }
 
   /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]} */
  @Override
   public void appDisconnect(IConnection conn) {
   log.debug(Client: +conn.getHost()+ disconnected);
super.appDisconnect (conn);
   }
 
  @Override
  public void appStop(IScope app) {
   if (appScope == app  serverStream != null) {
 serverStream.close();
}
   super.appStop(app);
  }
 
 public synchronized  boolean getList() {
try {
 log.debug(getting the FLV files);
 Resource[] flvs = appScope.getResources(streams/*.flv);
 if (flvs != null) {
  serverStream.removeAllItems ();
  for (Resource flv : flvs) {
   String flvName = flv.getFile().getName();
   item = new SimplePlayItem();
   item.setName(flvName);
   serverStream.addItem(item);
   log.debug(flvName:  + flvName);
  }
 }
}catch (Exception e) {
 log.error(e);
}
return true;
   }
 
  public void updatePlaylist()
  {
getList();
serverStream.setItem(0);
  }
 
  }
 
 
 
  Regards,
 
  Lenny
 
 
 
 
 
  On 7/20/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  Do you mean dropped frames ? Since last year i had an issue
  rotating the
  playlist as in it wouldnt work correctly . Either

Re: [Red5] Any updates on serverStream yet

2007-07-20 Thread Dan Rossi
I looked at a way to do trailers rotating in the server stream and then 
it switches on a live stream. But because of the server stream 
instability I gave up.

I just have a rotating vod file subscribed and when a stream stop event 
happens i just replay it. Then when a broadcast happens the server app 
calls an onBroadcast method in the players with the publish name and 
then the players subscribe to it. If a player happens to join after 
this, I set an attribute that a broadcast has happened and then also if 
there is a broadcast available and then call the player when it tries to 
subscribe to the VOD on load. Its still a little buggy possibly ie if 
the publisher closes without calling stop sometimes the broadcast stop 
event doesnt get run on the server end so the application still thinks 
an event is still happening !


Lenny Sorey wrote:
 Joseph,
  
 This is interesting.
  
 In Thijs publisher's app, I am able to broadcast in full screen mode 
 with out any problems.
  
 If you have webcam, try this link.
  
 http://red5.fatdot.com/publisher.html
  
 Connect to host first.
  
 then select video and your webcam
  
 click live and then full screen.
  
 Works quite well/
  
 I ask Thijs if there was a way to separate the VOD and Video Live 
 stream from his publisher
 example but I don't think it can be done.
  
 Not sure what all the dependencies are there.
  
 anyway, if there was a way to separate these items it sure help many 
 people.
  
 Regards,
  
 Lenny

  
 On 7/20/07, *joseph wamicha* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 The reason for not being able to go full screen is that red5
 playlist mode plays the video in live mode. It therefore does not
 send any metadata to the flex player for full-screen mode and for
 seeking through the video.


 On 7/20/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Lenny Sorey wrote:
  Hi Dan,
 
  I mean the audio will stutter at times and the video will lag.
 Thats the problem I was getting it was more of a glitch than a
 stutter
 though, and the video was all glitchy too.

 Nice one , I had intentions of testing loading files from a
 resource.
 This is great well done.

 
  I can send you this project if you wish to take a look.
 
  The flash piece is in Flex 2.
 
  Currently, it is in the JIRA Demo area waiting approval as a
 demo.
 
  Here is the entire java code from the Application.java file:
 
  Let me know if you see anything out of the ordinary.


 I may extend this maybe, ie with windows media server side
 streams, u
 can include a source in the xml playlist with an item which is a
 directory resource, it will include all files in that. Then u
 can also
 add another item which is a single resource and it will play
 after the
 others are finished.

 Wonder how you could make this updatable in the runtime
 without a restart ?

 Only problem is what is the timer stuff for, and im not sure
 how the
 updateplaylist is working is that right ? Well you dont have
 it set to
 random thats for sure so im not sure what the problem is. I
 gave up on
 this stuff ages ago to wait until itz more stable :)

 
 
  package org.red5.server.webapp.tv
 http://org.red5.server.webapp.tv/
 http://org.red5.server.webapp.tv
 http://org.red5.server.webapp.tv/;
 
  import java.util.Timer;
 
  import org.red5.server.adapter.*;
  import org.red5.server.api.IConnection;
  import org.red5.server.api.IScope;
  import org.red5.server.api.stream.IServerStream;
  import org.red5.server.api.stream.support.SimplePlayItem ;
  //import org.red5.server.api.stream.IBroadcastStream;
 
 
  import org.red5.server.api.stream.support.StreamUtils;
  import org.springframework.core.io.Resource;
 
 
  public class Application extends ApplicationAdapter {
   public IScope appScope;
   public IServerStream serverStream;
   private SimplePlayItem item;
 
   /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] } */
  @Override
   public boolean appStart(IScope app) {
   Timer timer = new Timer();
   log.debug(Application start);
   appScope = app;
serverStream = StreamUtils.createServerStream (appScope,
 live0);
getList();
serverStream.start();
PlayTester plTester = new PlayTester();
plTester.setApplication(this);
timer.schedule(plTester, 0, 500);
 
return true

Re: [Red5] Any updates on serverStream yet

2007-07-20 Thread Dan Rossi
Maybe a ticket should be reopened about the server stream problems ?

Dan Rossi wrote:
 I looked at a way to do trailers rotating in the server stream and then 
 it switches on a live stream. But because of the server stream 
 instability I gave up.

 I just have a rotating vod file subscribed and when a stream stop event 
 happens i just replay it. Then when a broadcast happens the server app 
 calls an onBroadcast method in the players with the publish name and 
 then the players subscribe to it. If a player happens to join after 
 this, I set an attribute that a broadcast has happened and then also if 
 there is a broadcast available and then call the player when it tries to 
 subscribe to the VOD on load. Its still a little buggy possibly ie if 
 the publisher closes without calling stop sometimes the broadcast stop 
 event doesnt get run on the server end so the application still thinks 
 an event is still happening !


 Lenny Sorey wrote:
   
 Joseph,
  
 This is interesting.
  
 In Thijs publisher's app, I am able to broadcast in full screen mode 
 with out any problems.
  
 If you have webcam, try this link.
  
 http://red5.fatdot.com/publisher.html
  
 Connect to host first.
  
 then select video and your webcam
  
 click live and then full screen.
  
 Works quite well/
  
 I ask Thijs if there was a way to separate the VOD and Video Live 
 stream from his publisher
 example but I don't think it can be done.
  
 Not sure what all the dependencies are there.
  
 anyway, if there was a way to separate these items it sure help many 
 people.
  
 Regards,
  
 Lenny

  
 On 7/20/07, *joseph wamicha* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 The reason for not being able to go full screen is that red5
 playlist mode plays the video in live mode. It therefore does not
 send any metadata to the flex player for full-screen mode and for
 seeking through the video.


 On 7/20/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Lenny Sorey wrote:
  Hi Dan,
 
  I mean the audio will stutter at times and the video will lag.
 Thats the problem I was getting it was more of a glitch than a
 stutter
 though, and the video was all glitchy too.

 Nice one , I had intentions of testing loading files from a
 resource.
 This is great well done.

 
  I can send you this project if you wish to take a look.
 
  The flash piece is in Flex 2.
 
  Currently, it is in the JIRA Demo area waiting approval as a
 demo.
 
  Here is the entire java code from the Application.java file:
 
  Let me know if you see anything out of the ordinary.


 I may extend this maybe, ie with windows media server side
 streams, u
 can include a source in the xml playlist with an item which is a
 directory resource, it will include all files in that. Then u
 can also
 add another item which is a single resource and it will play
 after the
 others are finished.

 Wonder how you could make this updatable in the runtime
 without a restart ?

 Only problem is what is the timer stuff for, and im not sure
 how the
 updateplaylist is working is that right ? Well you dont have
 it set to
 random thats for sure so im not sure what the problem is. I
 gave up on
 this stuff ages ago to wait until itz more stable :)

 
 
  package org.red5.server.webapp.tv
 http://org.red5.server.webapp.tv/
 http://org.red5.server.webapp.tv
 http://org.red5.server.webapp.tv/;
 
  import java.util.Timer;
 
  import org.red5.server.adapter.*;
  import org.red5.server.api.IConnection;
  import org.red5.server.api.IScope;
  import org.red5.server.api.stream.IServerStream;
  import org.red5.server.api.stream.support.SimplePlayItem ;
  //import org.red5.server.api.stream.IBroadcastStream;
 
 
  import org.red5.server.api.stream.support.StreamUtils;
  import org.springframework.core.io.Resource;
 
 
  public class Application extends ApplicationAdapter {
   public IScope appScope;
   public IServerStream serverStream;
   private SimplePlayItem item;
 
   /** [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] } */
  @Override
   public boolean appStart(IScope app) {
   Timer timer = new Timer();
   log.debug(Application start);
   appScope = app;
serverStream = StreamUtils.createServerStream (appScope,
 live0);
getList();
serverStream.start();
PlayTester plTester = new PlayTester

Re: [Red5] Docs On Red5

2007-07-19 Thread Dan Rossi
They are included in the source in the docs directory, but are all over 
the place in text files and word documents. I tried to have a go at 
merging everything into a single PDF using docbook XML. But i'm stuck at 
finding a convertor for the python text documents to docbook xml files I 
could include into the one docbook xml for generating a chapterized pdf 
documentation version. Any ideas ?

Let me know.

Vitaly Babiy wrote:
 Hello Every one,
 Where can I find good documentation on this project, like a book, or
 tutorials?

 Thanks,
 Vitaly Babiy


 ___
 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


Re: [Red5] Is Red5 developed and stable enough for a video conf app?

2007-07-18 Thread Dan Rossi
Tom Krcha wrote:
 Hi,
 I have reached about approx. 200 sim-users on video-conference, then 
 comes unfortunately deadlock. Look at jira.red5.org 
 http://jira.red5.org. The another thing is that for AV only 
 streaming it is stable, but you have to setup server properly:
 - FMS takes about 100% CPU of Core2 DUO at about 70 mbps, Red5 takes 
 100% CPU at 30mbps. There is also a problem of garbage collection, 
 even if you increase VM memory limits, sometimes it can crash - 
 because of Java.memory.overflow .

The GC settings are really CPU intensive, I watch it jump between 10-70% 
randomly.


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] jira client

2007-07-18 Thread Dan Rossi
WOW

http://almworks.com/opensource.html?product=jiraclient

I wonder how many they can give out though ?

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] java security flaw bought to my attention

2007-07-16 Thread Dan Rossi
http://www.zdnetasia.com/news/security/0,39044215,62028389,00.htm

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] java security flaw bought to my attention

2007-07-16 Thread Dan Rossi
Heiko Wundram (Beenic) wrote:
 On Monday 16 July 2007 14:56:33 Dan Rossi wrote:
   
 http://www.zdnetasia.com/news/security/0,39044215,62028389,00.htm
 

 In related news: Opening windows considered dangerous, says expert.

   
You are most probably right. I run osx and ubuntu here :) I think its a 
problem pre Java 6 update 1 correct , and only the imaging API is 
involved ? If anyone saw the NT code posted around the traps, the 
comments were an absolute classic. The term Hack about a million times 
and alot of swearing from annoyed c++ coders.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Is there any bandwidth detection+source code app available for red5?

2007-07-16 Thread Dan Rossi
Hi there, thats because the wiki seriouslly has an issue with tab 
formatting im really not sure what happened there ! I'll fix that up in 
a sec.


Naicu Octavian wrote:
 I have found this: 
 http://www.red5tutorials.net/index.php/Code:Server_bandwidthdetection

 But the code is incomplete!

 Any help is greatly appreciated!
 

 ___
 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


Re: [Red5] Is there any bandwidth detection+source code app available for red5?

2007-07-16 Thread Dan Rossi
Good please keep us updated. This was kinda a joint venture with the 
guys over at wowza, they reworked my code i sent to the list, and then i 
ported back the changes from a post of theirs :) I still think there is 
a better way to do this via mina , any ideas ?

Naicu Octavian wrote:
 Thanks for the files DAn, I will take a look at them today. I was 
 thinking about implement my own bandwidth detection algorithm for Red5 
 sometime in the future but right now I need a quick simple app that 
 will help me compare bandwidth to several servers.

 -- 
 Naicu Octavian

 On 16/07/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi i sent the webapp zipped offlist.  Maybe this should be added
 to svn
 if the devs is happy with it ? I was hoping someone else came up
 with a
 better implementation, it does not work so well on latency connections
 to a server, sluggish lans and sluggish machines, very random
 values ...

 We have it implemented properly into our video players, although
 there
 is a flex panel to re-select the bitrate option aswell. what I do is
 send the player a range of bitrates which would be available for a
 particular video as a string then get the detected bitrate and choose
 the right one from the given list of rates. Ie we'd only have files
 named videoID-bitrate.flv so 38,100,180,300,512,768 is our string of
 allowed rates. If the bitrate is 1-2MB it would get the 768 then down
 from there.


 Naicu Octavian wrote:
  I have found this:
 
 http://www.red5tutorials.net/index.php/Code:Server_bandwidthdetection
 
  But the code is incomplete!
 
  Any help is greatly appreciated!
 
 
 
  ___
  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
 http://osflash.org/mailman/listinfo/red5_osflash.org
   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Audio recording app architectural question

2007-07-14 Thread Dan Rossi
Hey that could work aswell using the request classes in flex or 
whatever. So trap a record.stop or whatever it is, and prob with cosmin 
suggestion to pre-generate the publishname using a uid aswell as some 
other things, when the event of the record is complete request the php 
file with some post data or something ?

Mel Brands wrote:
 Dan and Cosmin,

 Here's the situation... I have red5 running on a separate server and
 my web application and database is on a different server. I'd prefer
 not to use Red5 with a database. I'd prefer to use a Flash widget to
 report, using a POST, that something was recorded. This cuts down on
 the traffic between my servers. Something like this...

 1) User loads up the page with record widget
 2) User presses record, widget contacts red5 server and starts storing the 
 sound
 3) User presses stop and flash widget sends a POST to the web app
 server and web app server saves the filename etc to the database.

 Is anything wrong with this?

 Also, are there any examples that would tell me how to catch the stop
 recording event from the Red5 and send it to my web app server? I
 think this is what you both have been suggesting. I'm new to Red5 and
 don't know how to do that exactly... I have managed to record with
 default red5 app.

 Thanks!

 Mel

 On 7/13/07, Dan Rossi [EMAIL PROTECTED] wrote:
   
 I havent done anything with db stuff yet. But I may plan to integrate
 hibernate as an embedded db system for anonymous security authentication
 stuff with clients.

 [EMAIL PROTECTED] wrote:
 
 Yes, I try to limit the red5 interaction to only what it does best.
 But only recently I dug into the server side ( java dev and stuff ) so my
 perspective is somewhat limited. Actually at this point I am amazed by the
 complex communication between flash and red5. As soon as I get to doing
 some DB interaction from my red5 App I'll probably push everything trough
 red5 :)

 cosmin


   
 [EMAIL PROTECTED] wrote:

 
 2. start recording using red5 and use the uid for the recorded file
 name.
 3. get record end and success eventts from red5 and at that point call
 php
 to enter new the filename and other details you grab from the client to
 the DB.


   
 Do you mean a http request to a php script ? That could work aswell but
 removing that step by adding straight to the database via red5 was my
 idea. And I guess a uid to generate the stream name first is a good idea.


 ___
 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

 

 ___
 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


Re: [Red5] live and record

2007-07-13 Thread Dan Rossi
to my understanding, if you are publishing in append mode you will not 
be subscribing and viewing the archive but the live stream. There was 
bugs previouslly where that was happening. Also publishing in append 
mode is patchy on network drives I would record locally if you can. 
We've had issues where after 25 mins and a 100MB file red5 would 
disconnect then when trying to reconnect it couldnt because it was 
having issues appending to the end of a 100MB file ! This isnt happening 
now on the local drive I guess this is still a problem.

[EMAIL PROTECTED] wrote:
 Can I have a live stream and at the same time record it ( with append mode
 if possible :)?

 ___
 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


Re: [Red5] Audio recording app architectural question

2007-07-13 Thread Dan Rossi
I havent done anything with db stuff yet. But I may plan to integrate 
hibernate as an embedded db system for anonymous security authentication 
stuff with clients.

[EMAIL PROTECTED] wrote:
 Yes, I try to limit the red5 interaction to only what it does best.
 But only recently I dug into the server side ( java dev and stuff ) so my
 perspective is somewhat limited. Actually at this point I am amazed by the
 complex communication between flash and red5. As soon as I get to doing
 some DB interaction from my red5 App I'll probably push everything trough
 red5 :)

 cosmin

   
 [EMAIL PROTECTED] wrote:
 
 2. start recording using red5 and use the uid for the recorded file
 name.
 3. get record end and success eventts from red5 and at that point call
 php
 to enter new the filename and other details you grab from the client to
 the DB.

   
 Do you mean a http request to a php script ? That could work aswell but
 removing that step by adding straight to the database via red5 was my
 idea. And I guess a uid to generate the stream name first is a good idea.


 ___
 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


Re: [Red5] change default folder streams

2007-07-13 Thread Dan Rossi
If trailer is a folder within your webapp just leave it as /trailer/ in 
the bean. If /trailer is a path on the filesystem you must put 
file:/trailer. I think this has to be updated in the text document, if 
you google the list I think ive pointed it out 100 times so far :) I 
think its a limitation that somebody has patched but this is the easiest 
work around.

http://www.red5tutorials.net/index.php/Code:Server_filenamegenerator

Here is some hacking on the bean, which allows for virtual directories, 
I thought it wouldnt scale so well but it seemed fine.



Stefano wrote:
 Ok, substantially I want to change the directory /streams with the 
 directory /trailer in oflaDemo application.
 Someone can show me the code and the next steps for made it?
 Thanks!

 On 13/07/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 file:/123

 Felix Nensa wrote:
  A very simple aproach is to replace /streams with a symbolic
 link that
  points to a directory of your choice.
 
  On 7/12/07, Stefano  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  Hi, I have a problem with the customization of folder for store
 the VOD
  file. I try to follow the HOWTO-StreamCustomDirectories file,
 but it doesn't
  work…
 
  If I want to change for eg. The directory from /streams to /123
 what should
  I do??
 
  Thanks!! :-P
  ___
  Red5 mailing list
  Red5@osflash.org mailto:Red5@osflash.org
  http://osflash.org/mailman/listinfo/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
 http://osflash.org/mailman/listinfo/red5_osflash.org
   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] change default folder streams

2007-07-13 Thread Dan Rossi
Samuel Colak wrote:
 Are you using unix or windows?

 in unix delete the directory and then 

 ln -s path to new place streams

thats doable aswell


 in windows - goto www.sysinternals.com http://www.sysinternals.com 
 and download the free application JUNCTION - move this to the system 
 directory

 delete the streams directory and then

 junction path to new place streams

junction worked aswell but became a massive problem if i wanted to 
remove things or change things around, as it would then try to remove 
the 1TB+ of files very dangerous ! And junction does not work for UNC 
paths and network drives ..



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] change default folder streams

2007-07-13 Thread Dan Rossi
resolvesToAbsolutePath()

Is that what the change in the API is for :D

Niels Joubert wrote:

 I just posted another tutorial on how to do custom stream directories:

 http://www.red5tutorials.net/index.php/Tutorials:Streaming_from_custom_directories

 This tutorial focuses on the as-yet-unreleased 0.6.3 version of Red5.

 To sum it up, if you want to change the directory from /streams to 
 /trailer only for oflaDemo, this is what you would do:

 - Create a CustomFilenameGenerator.java class under 
 webapps/oflaDemo/WEB-INF/src in the package 
 org.red5.server.webapp.oflaDemo

 - Copy the body of the 
 org.red5.server.stream.DefaultStreamFilenameGenerator class to this 
 new class. Be sure that the package and class name stays with the new 
 class (i.e. don’t copy the WHOLE file, just the contents of the class 
 itself.

 - change the playbackPath to be /trailer instead of /streams in the 
 variable in the class. (Joachim’s or the aforementioned guide gives 
 detail about how to abstract this out into the XML config files.)

 - Save the file and build it. (I’m assuming you have all of this 
 running in Eclipse or the like)

 - in the webapps/oflaDemo/WEB-INF/red5-web.xml config file, add the 
 following information:

 bean id=streamFilenameGenerator

 class=org.red5.server.webapp.oflaDemo.CustomFilenameGenerator/

 This should be enough to hook up your custom filename generator to 
 oflaDemo, and use it to generate paths instead of the default one.

 I would recommend studying the two tutorials (the above one and 
 Joachim’s one at 
 http://www.joachim-bauch.de/tutorials/red5/HOWTO-StreamCustomDirectories.txt/view),
  
 they go into detail on how to do this.

 I hope this works for you!

 -Niels Joubert

 

 *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On 
 Behalf Of *Stefano
 *Sent:* Friday, July 13, 2007 7:55 AM
 *To:* red5@osflash.org
 *Subject:* Re: [Red5] change default folder streams

 Ok, substantially I want to change the directory /streams with the 
 directory /trailer in oflaDemo application.
 Someone can show me the code and the next steps for made it?
 Thanks!

 On 13/07/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 file:/123

 Felix Nensa wrote:
  A very simple aproach is to replace /streams with a symbolic link that
  points to a directory of your choice.
 
  On 7/12/07, Stefano  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
  Hi, I have a problem with the customization of folder for store the VOD
  file. I try to follow the HOWTO-StreamCustomDirectories file, but it 
 doesn't
  work…
 
  If I want to change for eg. The directory from /streams to /123 what 
 should
  I do??
 
  Thanks!! :-P
  ___
  Red5 mailing list
  Red5@osflash.org mailto:Red5@osflash.org
  http://osflash.org/mailman/listinfo/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
 http://osflash.org/mailman/listinfo/red5_osflash.org
   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Bandwith accounting in Red5

2007-07-13 Thread Dan Rossi
thomas hallaran wrote:
 Hi,
 My company is currently using red5 to stream a large quantity of Flv's 
 (30 Tb of transfer per month), we are looking for a way to track 
 transfer per file. Has anyone had any experience doing per file 
 bandwith tracking in red5? Any opinions on if it is appropriate to 
 implement bandwith tracking in red5 or outside of red5, lower on the 
 OSI model, though tcp stream monitoring and logging would be appreciated.
 Tom

There is information available in the statistics API, but the data hasnt 
worked for a while its the bytesSent method although it was not working 
until i made some code changes, so not really sure if thats all ready yet.

you may be of interest in this, it contains a class which attempts to 
extract this information and log to access log files for an application 
in W3C format

http://www.electroteque.org/red5/logging/

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] streamFilenameGenerator Bean doesn't work (for me)

2007-07-12 Thread Dan Rossi
Its an undocumented qwuirk, ive been helping ppl out with it. I have 
some info about it on the red5 tutorials wiki.

Martijn van Beek wrote:
 It works :d jeeez why didn't I just thought of that ;) ...

 On 7/12/07, *Martijn van Beek* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 I'm giving it a try!

 Thanks man


 On 7/11/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Ok there has been some updated changes in this bean but not
 sure if its
 resolved the external path problem. We have a NAS aswell but
 on windows
 so its like file:thecomputer/theshare/thepath. If you just
 have
 /nas_streams it will still try to access within the webapp,
 you need to
 have file:/nas_streams/records/100.flv its a spring resource
 thingy ..
 No need for symlink within webapp then.


 Martijn van Beek wrote:
  The streams:
  /nas_streams/videos/1000.flv
 
  The records:
  /nas_streams/records/100.flv
 
  the main folder is a mount on a NAS disk (without the bean I
 can read
  from the same folder via a symbolic link)
 
 
 
  On 7/11/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  Whats the example generated path ?
 
  Martijn van Beek wrote:
   It opens a file where the locations are defined.
  
   The problem is not located in my class but after. The
   System.out.println ( generateFilename: +filename);
 code echos a
   correct path.
   But still there is no error but the file isn't
 displayed at the
  client
   (without the bean everything works fine, but I want the
 stream
  folder
   different from the record folder)
  
   On 7/11/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  wrote:
  
   How does this work ?
  
   private void resolveDirectory(){
   try{
   props.load (new
 FileInputStream(db.properties));
   recordPath  = props.getProperty(
 path.record);
   playbackPath =
 props.getProperty(path.playback);
   }catch (Exception e) {
   // TODO: handle exception
   System.out.println(Loading Properties:
  db.properties
   failed);
   System.out.println(Exception:  +
 e.getMessage());
   }
   }
  
   I would log the filename var and see what it
 returns. Im
  guessing
   u want
   something else other than the streams dir. You need to
  reference like
   file:/path/to/streams .
  
  
   Martijn van Beek wrote:
I have made an streamFileGenerator based on the
 example
  made by
   Joachmin.
   
package nl.blueberry.streamer;
   
import org.red5.server.api.IScope ;
import
 org.red5.server.api.stream.IStreamFilenameGenerator;
   
import nl.blueberry.data.QueryManager;
   
import java.io.*;
import java.util.Properties;
   
public class FilenameGenerator implements
   IStreamFilenameGenerator {
   
/** Path that will store recorded videos. */
public String recordPath = ;
/** Path that contains VOD streams. */
public String playbackPath = ;
   
Properties props = new Properties();
   
private String getStreamDirectory(IScope scope) {
if ( recordPath.equals() ) {
resolveDirectory();
}
return recordPath;
}
   
private void resolveDirectory(){
try

Re: [Red5] Is Red5 developed and stable enough for a video conf app?

2007-07-11 Thread Dan Rossi
I think it is, but im now experiencing JVM performance problems taking 
out other services on the same machine aswell at certain times. Well 
thats what the monitor picks up as the port being down. I'm stumped 
there, waiting for terracotta ! :D

Ed Wise wrote:
 Hello Storm and others.

 I have a basic flash text chat app which uses Java on the server side, and I 
 want to add video conferencing.  Would this be easy to do with Red5, and 
 would it be stable and usable?

 Thanks

 Ed


 - Original Message - 
 From: vikramchhetryy [EMAIL PROTECTED]
 To: Red5@osflash.org
 Sent: Tuesday, July 10, 2007 4:23 AM
 Subject: Re: [Red5] Video conferencing Audio problem


   
 can i use it for free?
 and how difficult it is to integrate?
 With red5 demo I am able to transfer sound and appear disappear thing is
 also fixed. Should i go with red5 video conference demo or should i switch
 over to the one you suggested?

 Thanks for your help storm.

 Regards,
 Vikram
 -- 
 View this message in context: 
 http://www.nabble.com/Video-conferencing-Audio-problem-tf4048513.html#a11516645
 Sent from the Red5 - English mailing list archive at Nabble.com.


 ___
 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


Re: [Red5] streamFilenameGenerator Bean doesn't work (for me)

2007-07-11 Thread Dan Rossi
How does this work ?

private void resolveDirectory(){
try{
props.load (new FileInputStream(db.properties));
recordPath  = props.getProperty(path.record);
playbackPath = props.getProperty(path.playback);
}catch (Exception e) {
// TODO: handle exception
System.out.println(Loading Properties: db.properties failed);
System.out.println(Exception:  + e.getMessage());
}
}

I would log the filename var and see what it returns. Im guessing u want 
something else other than the streams dir. You need to reference like 
file:/path/to/streams .


Martijn van Beek wrote:
 I have made an streamFileGenerator based on the example made by Joachmin.

 package nl.blueberry.streamer;

 import org.red5.server.api.IScope;
 import org.red5.server.api.stream.IStreamFilenameGenerator;

 import nl.blueberry.data.QueryManager;

 import java.io.*;
 import java.util.Properties;

 public class FilenameGenerator implements IStreamFilenameGenerator {

 /** Path that will store recorded videos. */
 public String recordPath = ;
 /** Path that contains VOD streams. */
 public String playbackPath = ;

 Properties props = new Properties();

 private String getStreamDirectory(IScope scope) {
 if ( recordPath.equals() ) {
 resolveDirectory();
 }
 return recordPath;
 }

 private void resolveDirectory(){
 try{
 props.load (new FileInputStream(db.properties));
 recordPath  = props.getProperty(path.record);
 playbackPath = props.getProperty(path.playback);
 }catch (Exception e) {
 // TODO: handle exception
 System.out.println(Loading Properties: db.properties 
 failed);
 System.out.println(Exception:  + e.getMessage());
 }
 }

 public String generateFilename(IScope scope, String name, 
 GenerationType type) {
 // Generate filename without an extension.
 String filename = generateFilename(scope, name, null, type);
 System.out.println ( generateFilename: +filename);
 return filename;
 }

 public String generateFilename(IScope scope, String name,
 String extension, GenerationType type) {
 String filename;
 if ( recordPath.equals() ) {
 resolveDirectory();
 }
 if (type == GenerationType.RECORD)
 filename = recordPath + name;
 else
 filename = playbackPath + name;

 if (extension != null) // Add extension
 filename += extension;
 System.out.println ( generateFilename: +filename);
 return filename;
 }
 }

 The data is parsed correctly but somehow the video isn't displayed. I 
 cannot find where Red5 accually is accessing the file

 Any idea
 

 ___
 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


Re: [Red5] streamFilenameGenerator Bean doesn't work (for me)

2007-07-11 Thread Dan Rossi
Whats the example generated path ?

Martijn van Beek wrote:
 It opens a file where the locations are defined.

 The problem is not located in my class but after. The 
 System.out.println ( generateFilename: +filename); code echos a 
 correct path.
 But still there is no error but the file isn't displayed at the client 
 (without the bean everything works fine, but I want the stream folder 
 different from the record folder)

 On 7/11/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 How does this work ?

 private void resolveDirectory(){
 try{
 props.load (new FileInputStream(db.properties));
 recordPath  = props.getProperty(path.record);
 playbackPath = props.getProperty(path.playback);
 }catch (Exception e) {
 // TODO: handle exception
 System.out.println(Loading Properties: db.properties
 failed);
 System.out.println(Exception:  + e.getMessage());
 }
 }

 I would log the filename var and see what it returns. Im guessing
 u want
 something else other than the streams dir. You need to reference like
 file:/path/to/streams .


 Martijn van Beek wrote:
  I have made an streamFileGenerator based on the example made by
 Joachmin.
 
  package nl.blueberry.streamer;
 
  import org.red5.server.api.IScope ;
  import org.red5.server.api.stream.IStreamFilenameGenerator;
 
  import nl.blueberry.data.QueryManager;
 
  import java.io.*;
  import java.util.Properties;
 
  public class FilenameGenerator implements
 IStreamFilenameGenerator {
 
  /** Path that will store recorded videos. */
  public String recordPath = ;
  /** Path that contains VOD streams. */
  public String playbackPath = ;
 
  Properties props = new Properties();
 
  private String getStreamDirectory(IScope scope) {
  if ( recordPath.equals() ) {
  resolveDirectory();
  }
  return recordPath;
  }
 
  private void resolveDirectory(){
  try{
  props.load (new FileInputStream(db.properties));
  recordPath  = props.getProperty(path.record);
  playbackPath = props.getProperty(path.playback);
  }catch (Exception e) {
  // TODO: handle exception
  System.out.println(Loading Properties: db.properties
  failed);
  System.out.println(Exception:  + e.getMessage());
  }
  }
 
  public String generateFilename(IScope scope, String name,
  GenerationType type) {
  // Generate filename without an extension.
  String filename = generateFilename(scope, name, null,
 type);
  System.out.println ( generateFilename: +filename);
  return filename;
  }
 
  public String generateFilename(IScope scope, String name,
  String extension, GenerationType type) {
  String filename;
  if ( recordPath.equals() ) {
  resolveDirectory();
  }
  if (type == GenerationType.RECORD)
  filename = recordPath + name;
  else
  filename = playbackPath + name;
 
  if (extension != null) // Add extension
  filename += extension;
  System.out.println ( generateFilename: +filename);
  return filename;
  }
  }
 
  The data is parsed correctly but somehow the video isn't
 displayed. I
  cannot find where Red5 accually is accessing the file
 
  Any idea
 
 
 
  ___
  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
 http://osflash.org/mailman/listinfo/red5_osflash.org
   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] streamFilenameGenerator Bean doesn't work (for me)

2007-07-11 Thread Dan Rossi
Ok there has been some updated changes in this bean but not sure if its 
resolved the external path problem. We have a NAS aswell but on windows 
so its like file:thecomputer/theshare/thepath. If you just have 
/nas_streams it will still try to access within the webapp, you need to 
have file:/nas_streams/records/100.flv its a spring resource thingy .. 
No need for symlink within webapp then.


Martijn van Beek wrote:
 The streams:
 /nas_streams/videos/1000.flv

 The records:
 /nas_streams/records/100.flv

 the main folder is a mount on a NAS disk (without the bean I can read 
 from the same folder via a symbolic link)



 On 7/11/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Whats the example generated path ?

 Martijn van Beek wrote:
  It opens a file where the locations are defined.
 
  The problem is not located in my class but after. The
  System.out.println ( generateFilename: +filename); code echos a
  correct path.
  But still there is no error but the file isn't displayed at the
 client
  (without the bean everything works fine, but I want the stream
 folder
  different from the record folder)
 
  On 7/11/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  How does this work ?
 
  private void resolveDirectory(){
  try{
  props.load (new FileInputStream(db.properties));
  recordPath  = props.getProperty( path.record);
  playbackPath = props.getProperty(path.playback);
  }catch (Exception e) {
  // TODO: handle exception
  System.out.println(Loading Properties:
 db.properties
  failed);
  System.out.println(Exception:  + e.getMessage());
  }
  }
 
  I would log the filename var and see what it returns. Im
 guessing
  u want
  something else other than the streams dir. You need to
 reference like
  file:/path/to/streams .
 
 
  Martijn van Beek wrote:
   I have made an streamFileGenerator based on the example
 made by
  Joachmin.
  
   package nl.blueberry.streamer;
  
   import org.red5.server.api.IScope ;
   import org.red5.server.api.stream.IStreamFilenameGenerator;
  
   import nl.blueberry.data.QueryManager;
  
   import java.io.*;
   import java.util.Properties;
  
   public class FilenameGenerator implements
  IStreamFilenameGenerator {
  
   /** Path that will store recorded videos. */
   public String recordPath = ;
   /** Path that contains VOD streams. */
   public String playbackPath = ;
  
   Properties props = new Properties();
  
   private String getStreamDirectory(IScope scope) {
   if ( recordPath.equals() ) {
   resolveDirectory();
   }
   return recordPath;
   }
  
   private void resolveDirectory(){
   try{
   props.load (new FileInputStream(
 db.properties));
   recordPath  = props.getProperty(path.record);
   playbackPath = props.getProperty(path.playback);
   }catch (Exception e) {
   // TODO: handle exception
   System.out.println(Loading Properties:
 db.properties
   failed);
   System.out.println (Exception:  +
 e.getMessage());
   }
   }
  
   public String generateFilename(IScope scope, String name,
   GenerationType type) {
   // Generate filename without an extension.
   String filename = generateFilename(scope, name, null,
  type);
   System.out.println ( generateFilename: +filename);
   return filename;
   }
  
   public String generateFilename(IScope scope, String name,
   String extension, GenerationType type) {
   String filename;
   if ( recordPath.equals() ) {
   resolveDirectory();
   }
   if (type == GenerationType.RECORD)
   filename = recordPath + name;
   else
   filename = playbackPath + name;
  
   if (extension != null) // Add extension
   filename += extension;
   System.out.println ( generateFilename: +filename);
   return filename

Re: [Red5] best GC settings

2007-07-10 Thread Dan Rossi
Dan Rossi wrote:
 Hi, monitoring two of our servers which also run windows media aswell as 
 other services. Having red5 on here with GC settings enabled from the 
 suggested performance tweaks, the cpu runs pretty hot pretty 20-100% 
 with everything else turned off.

 What can we do in this situation until the implementation of terracotta 
 stablises ?


   
The flash is most definitely hogging resources, had to turn windows 
media off one and leave red5 running, and leave windows media on another 
and have the flash off.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Admin Panel release

2007-07-09 Thread Dan Rossi
Remove the class and lib directories as they were compiled in 1.6. I ran 
into prioblems under 1.5, ive now changed my env vars for java 1.6 on 
the mac java upgrade, the java and javac binaries still point to the old 
distro though.

Thijs Triemstra | Collab wrote:
 I think these problems will be sorted out as soon as we add the admin  
 panel into the trunk. The latest official jdk for mac osx is also  
 version 1.5 so there's enough reason to make it work with jdk 1.5 i  
 would say :)
 Until the admin panel is integrated into the trunk there's not much  
 we can do to help or debug atm.

 Thijs

 On Jul 9, 2007, at 9:51 PM, Seraphi wrote:
   
 Does anyone have any information on this, or ideas on how to make  
 it work in FreeBSD?

 -Ben

 - Original Message 
 From: Seraphi [EMAIL PROTECTED]
 To: Red5@osflash.org
 Sent: Monday, July 2, 2007 3:42:57 PM
 Subject: Re: [Red5] Red5 Admin Panel release


 I run FreeBSD 6.1 with jdk1.5.0. This is the latest jdk for FreeBSD
 Is the admin panel going to work, or do I need 1.6 and a different OS?

 -Ben


 - Original Message 
 From: Ben H Kram [EMAIL PROTECTED]
 To: Red5@osflash.org
 Sent: Monday, July 2, 2007 12:22:10 PM
 Subject: Re: [Red5] Red5 Admin Panel release


 Martijn,

 I tried to download your zip, but my unzipper claimed it was corrupt.

 cheers,
 .b

 On Mon, Jul 02, 2007 at 09:27:09AM +0200, Martijn van Beek wrote:
 
 Hi List,

 Today I'm releasing 0.2 of my Admin Panel to the world. There is  
 still a lot
 to do like not code stuff (license stuff, readme, etc).

 And please note: it is not production ready

 To download go to my website:
 http://martijnvanbeek.net/weblog/32/red5_admin_panel_0.2_release.html

 Cheers,

 Martijn van Beek
   
 ___
 Red5 mailing list
 Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org
   
 -- 
 Benjamin H Kram
 [EMAIL PROTECTED]
 617.998.8592

 ___
 Red5 mailing list
 Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org



 __ 
 __
 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html

 ___
 Red5 mailing list
 Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org



 __ 
 __
 Moody friends. Drama queens. Your life? Nope! - their life, your  
 story. Play Sims Stories at Yahoo! Games.
 http://sims.yahoo.com/

 ___
 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


[Red5] best GC settings

2007-07-09 Thread Dan Rossi
Hi, monitoring two of our servers which also run windows media aswell as 
other services. Having red5 on here with GC settings enabled from the 
suggested performance tweaks, the cpu runs pretty hot pretty 20-100% 
with everything else turned off.

What can we do in this situation until the implementation of terracotta 
stablises ?

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Admin Panel release

2007-07-08 Thread Dan Rossi
I downloaded flex 3 and managed to package up an AIR version. However I 
had to refactor the filename to Red5Admin as its more descriptive than 
ControlPanel. My eclipse ant build version will not compile the air for 
some reason though.


target name=package depends=build
java jar=${ADT.JAR} fork=true failonerror=true
arg value=-package/
arg value=${PACKAGE_DIR}/${AIR_NAME}/
arg value=${APP_DESCRIPTOR}/
arg value=-C/
arg value=${DEPLOY_DIR}/
arg value=${APP_NAME}.swf/
!--
   
arg value=-C/
arg value=${assets}/
arg value=icons/
--
/java
/target

Martijn van Beek wrote:
 If everything goes alright I have internet access tomorrow. I will 
 make a AIR wrapper for the Panel. Flex 3 is not so different from Flex 
 3 in code, its more the IDE where the big changes are. (the framework 
 get's an update to but it's still not super new). AIR = apollo and the 
 name apollo was an code name like whistler.

 On 7/6/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Thats the idea, I forgot about that, its painful to keep up. I thought
 Apollo was going to be called Apollo. This is the one major gripe
 about
 the flash platform, they cant make up their mind in this technology
 race. You just manage to learn the API of flex 2 and get comfortable
 with it, now 3 is coming out :)

 check this

 http://airchive.codeapollo.com/browse.php?show=latest

 Ok im searching for an ant build for AIR, i saw an example not
 sure if
 its exact.

 Martijn van Beek wrote:
  Adobe AIR is a better solution is my guess. I could make an AIR file
  of the project (also nice to experiment with).
 
  On 7/6/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  No idea I reckon we clean that acegi code up first, because
 that wiki
  page was halfbaked and return proper reject messages to the
 client
  first
  maybe ? Ive included a mac projector in that zip, is it possible
  to make
  the same on the pc standalone ?
 
  Martijn van Beek wrote:
   Hi Dan,
  
   Pretty neat. Thanks! Do you know something about the progress
   concerning submitting the admin panel to the svn? (maybe I
 missed
   something)
  
   Cheers,
   Martijn
  
   On 7/5/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  wrote:
  
   Ive added quickly the clear text based authentication.
 I also
   started on
   the client registry example from that page and bits
  commented out
   in the
   code and xml files, but its terrible documentation,
 and was
  full of
   missing bits and discrepancies as the clientregistry
 had no
  way of
   getting the scope context like it said. Somebody maybe
 want
  to add the
   authentication part back into the clientregistry class
  properly, which
   throws a clientrejection class aparantly. The
 rejectclient also
   doesnt
   send the reject message back to the client ?
  
   Anyway it works as suggested, even though it may be
  overkill, its prob
   always best to use a standard authentication API like
 this ?
  
   http://www.electroteque.org/red5/Admin%20Panel.zip
 http://www.electroteque.org/red5/Admin%20Panel.zip
  
  
   Martijn van Beek wrote:
The restart button is a fake button. It is there for the
  future
   (i hope).
   
It should restart an application like we can in FMS
   
On 7/4/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   wrote:
   
Question about the code

Re: [Red5] Red5 Admin Panel release

2007-07-08 Thread Dan Rossi
Come to mention it, regarding my concerns previously about using AMF 
calls via rtmp, we have servers which are binded to internal ip addreses 
which the load balancer connects to. These wont be accessible externally 
I think, so can only be connected via RMI / JMX. Wonder if there is a 
way for the admin console to connect into this instead.

Martijn van Beek wrote:
 If everything goes alright I have internet access tomorrow. I will 
 make a AIR wrapper for the Panel. Flex 3 is not so different from Flex 
 3 in code, its more the IDE where the big changes are. (the framework 
 get's an update to but it's still not super new). AIR = apollo and the 
 name apollo was an code name like whistler.

 On 7/6/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Thats the idea, I forgot about that, its painful to keep up. I thought
 Apollo was going to be called Apollo. This is the one major gripe
 about
 the flash platform, they cant make up their mind in this technology
 race. You just manage to learn the API of flex 2 and get comfortable
 with it, now 3 is coming out :)

 check this

 http://airchive.codeapollo.com/browse.php?show=latest

 Ok im searching for an ant build for AIR, i saw an example not
 sure if
 its exact.

 Martijn van Beek wrote:
  Adobe AIR is a better solution is my guess. I could make an AIR file
  of the project (also nice to experiment with).
 
  On 7/6/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  No idea I reckon we clean that acegi code up first, because
 that wiki
  page was halfbaked and return proper reject messages to the
 client
  first
  maybe ? Ive included a mac projector in that zip, is it possible
  to make
  the same on the pc standalone ?
 
  Martijn van Beek wrote:
   Hi Dan,
  
   Pretty neat. Thanks! Do you know something about the progress
   concerning submitting the admin panel to the svn? (maybe I
 missed
   something)
  
   Cheers,
   Martijn
  
   On 7/5/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  wrote:
  
   Ive added quickly the clear text based authentication.
 I also
   started on
   the client registry example from that page and bits
  commented out
   in the
   code and xml files, but its terrible documentation,
 and was
  full of
   missing bits and discrepancies as the clientregistry
 had no
  way of
   getting the scope context like it said. Somebody maybe
 want
  to add the
   authentication part back into the clientregistry class
  properly, which
   throws a clientrejection class aparantly. The
 rejectclient also
   doesnt
   send the reject message back to the client ?
  
   Anyway it works as suggested, even though it may be
  overkill, its prob
   always best to use a standard authentication API like
 this ?
  
   http://www.electroteque.org/red5/Admin%20Panel.zip
 http://www.electroteque.org/red5/Admin%20Panel.zip
  
  
   Martijn van Beek wrote:
The restart button is a fake button. It is there for the
  future
   (i hope).
   
It should restart an application like we can in FMS
   
On 7/4/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   wrote:
   
Question about the code is, was there a need to
  rewrite it,
   would
you be
able to expose AMF methods which gets the
 information
   obtained via
JMX ?
Its pretty much the same things and then it can prob
  manage
   a few
things. How does the restart stuff work, it
 didnt seem to
   function.
   
Lenny

Re: [Red5] Flex 2 flv Video Player

2007-07-07 Thread Dan Rossi
There is the flex flv player supplied in the swf demos. I have one I 
built which does seeking / full controls / skinnable / bitrate auto 
detection / bitrate chooser. However it was done for the company I work 
for. I could refactor things and make it available I guess 

Lenny Sorey wrote:
 Putting all my lack of Flash design aside, I am going to ask a question.
  
 Has anyone created a really nice looking Flex FLV Player with a timer,
 seeking and the capability for full screen. (this last is not 
 important, I can embed this).
  
 I am just really no good at designing and would like to get a really 
 nice looking
 Flex 2 FLV player.
  
 I know we have John Grden's Flex FLV player and it is really good, but 
 I would really like
 to take advantage of Flex's design capabilities. 
  
 With that said, thanks in advance for any responses.
  
 Regards,
  
 Lenny
 

 ___
 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


Re: [Red5] High resolution stream and delay

2007-07-06 Thread Dan Rossi
mOlind wrote:
 Hi.

 I have problem with streaming high resolution video. My self-writed
 web-cam uses 1280x800/24bit/3fps mode. Problem in increasing delay
 when i broadcast stream from my cam.
 It slowly growing to 16-17 sec. Audio conference will be in real time
 and presentation delay about 16 sec unallowable.

 Why this is happening? What i can do to minimize delay?

 P.S. I'll test this case with my logitech web-cam too. (1280x960/24bit/3fps
 mode) same thing.
 P.P.S. FMS also has that problem.

   
Hi, i think this is too large 1280x800. Even on a SHDSL account with 1MB 
dedicated up, we couldnt get audio to stream at 640x480 via a 3 chip camera.

Just make it smaller, and make the player go fullscreen which may 
pixelate a little.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] High resolution stream and delay

2007-07-06 Thread Dan Rossi
OK maybe u have the buffer set too hight, try 2 - 5 seconds, or 1 second 
if its not headshot video, the more stream buffer you put on a publisher 
the more delay :)

mOlind wrote:
 Hi, Dan.

   
 I have problem with streaming high resolution video. My self-writed
 web-cam uses 1280x800/24bit/3fps mode. Problem in increasing delay
 when i broadcast stream from my cam.
 It slowly growing to 16-17 sec. Audio conference will be in real time
 and presentation delay about 16 sec unallowable.
   

   
 Hi, i think this is too large 1280x800. Even on a SHDSL account with 1MB
 dedicated up, we couldnt get audio to stream at 640x480 via a 3 chip camera.
 

   
 Just make it smaller, and make the player go fullscreen which may 
 pixelate a little.
 

 Presentation shows real desktop screen from broadcaster pixel-in-pixel
 and if we make it smaller some text disappears. At low fps 512kbit/s
 bandwidth is enough for this stream.

   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] first immpression

2007-07-06 Thread Dan Rossi
Mees, Stefan wrote:
 Hello,
 first thing i have to say i'm really amazed about this great open source
 community and the professional work that have been done till yet. We
 evalutate red5 for a streaming solution of plain mp3 audio files via
 rtmp to a flash frontend. This functionality seems to be stable (a
 little bug exists, discussed little bit earlier on this list with the
 topic problems after NetStream.Play.Stop is issued).

 I had take a intensive look at relevant code, here are some peanuts that
 catch my eyes ;-)

 org.red5.io.mp3.impl.MP3Reader

 - every streaming file are mapped completely at memory (that means if i
 have 100 simultaneous streams where each file has a size of 4 - 5 MB -
 400 - 500 MB of memory are allocated, even if 50 Streams use the same
 file) 
   
Is this true ? We have files over 200MB each, with thousands of 
connections to them, hasnt maxed out 1.5GB yet ..



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] first immpression

2007-07-06 Thread Dan Rossi
Speaking of which, are mp3 files seekable? I'm about to get into that 
for my music page on myspace.

Mees, Stefan wrote:
 For mp3 streaming this is true (simultaneous streams), i added a log
 message at the constructor of the MP3Reader and for each Stream (at
 client side a NetStream Object) a new MP3Reader with complete mapping of
 the required file is instantiated (even if the required files are the
 same).



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Dan Rossi
 Sent: Freitag, 6. Juli 2007 10:02
 To: Red5@osflash.org
 Subject: Re: [Red5] first immpression

 Mees, Stefan wrote:
   
 Hello,
 first thing i have to say i'm really amazed about this great open 
 source community and the professional work that have been done till 
 yet. We evalutate red5 for a streaming solution of plain mp3 audio 
 files via rtmp to a flash frontend. This functionality seems to be 
 stable (a little bug exists, discussed little bit earlier on this list
 

   
 with the topic problems after NetStream.Play.Stop is issued).

 I had take a intensive look at relevant code, here are some peanuts 
 that catch my eyes ;-)

 org.red5.io.mp3.impl.MP3Reader

 - every streaming file are mapped completely at memory (that means if 
 i have 100 simultaneous streams where each file has a size of 4 - 5 MB
 

   
 - 400 - 500 MB of memory are allocated, even if 50 Streams use the 
 same
 file)
   
 
 Is this true ? We have files over 200MB each, with thousands of
 connections to them, hasnt maxed out 1.5GB yet ..



 ___
 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


Re: [Red5] Red5 Admin Panel release

2007-07-06 Thread Dan Rossi
No idea I reckon we clean that acegi code up first, because that wiki 
page was halfbaked and return proper reject messages to the client first 
maybe ? Ive included a mac projector in that zip, is it possible to make 
the same on the pc standalone ?

Martijn van Beek wrote:
 Hi Dan,

 Pretty neat. Thanks! Do you know something about the progress 
 concerning submitting the admin panel to the svn? (maybe I missed 
 something)

 Cheers,
 Martijn

 On 7/5/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Ive added quickly the clear text based authentication. I also
 started on
 the client registry example from that page and bits commented out
 in the
 code and xml files, but its terrible documentation, and was full of
 missing bits and discrepancies as the clientregistry had no way of
 getting the scope context like it said. Somebody maybe want to add the
 authentication part back into the clientregistry class properly, which
 throws a clientrejection class aparantly. The rejectclient also
 doesnt
 send the reject message back to the client ?

 Anyway it works as suggested, even though it may be overkill, its prob
 always best to use a standard authentication API like this ?

 http://www.electroteque.org/red5/Admin%20Panel.zip


 Martijn van Beek wrote:
  The restart button is a fake button. It is there for the future
 (i hope).
 
  It should restart an application like we can in FMS
 
  On 7/4/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  Question about the code is, was there a need to rewrite it,
 would
  you be
  able to expose AMF methods which gets the information
 obtained via
  JMX ?
  Its pretty much the same things and then it can prob manage
 a few
  things. How does the restart stuff work, it didnt seem to
 function.
 
  Lenny Sorey wrote:
   Martijn,
  
   I had to change a couple of items and add a context.xml for it
  to work
   in Tomcat.
  
   After you have released you final source, I can writeup some
   instructions for Tomcat
   users.
  
   But again, pretty neat app.  Thanks again.
  
   Regards,
  
   Lenny
  
  
  
   On 7/4/07, *Martijn van Beek*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  
   Thanks Lenny,
  
   I didn't know that would be possible :d
   I dunno tomcat that's why ;)
  
   Cheers,
   Martijn
  
  
   On 7/3/07, *Lenny Sorey*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
  
   Hello Martijn,
  
   I now have you app running within Tomcat red5 app.
  
   I now can connect to any red5 server.
  
   Pretty neat app.
  
   Lenny
  
  
   On 7/3/07, *Martijn van Beek* 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
  
   That looks easy (I will look at it this evening).
  
   If I had internet at home development would
  accelerate :s
  
  
   On 7/3/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  
  
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
   
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
  
   Martijn van Beek wrote:
Acegi looks with a quick look as a complete
  solution
   (even overkill

Re: [Red5] High resolution stream and delay

2007-07-06 Thread Dan Rossi
sorry on the NetStream class in flash.

mOlind wrote:
 Здравствуйте, Dan.

 Вы писали 6 июля 2007 г., 10:41:08:

   
 OK maybe u have the buffer set too hight, try 2 - 5 seconds, or 1 second
 if its not headshot video, the more stream buffer you put on a publisher
 the more delay :)
 

 Where i can change this setting? I was found only buffer size in
 Red5\conf\red5.properties

 rtmp.send_buffer_size=271360

 it is it?

   


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Admin Panel release

2007-07-06 Thread Dan Rossi
Ive setup an eclipse flexant task version of this here

http://www.electroteque.org/red5/Red5Admin.zip

I also edited the width of the application in the mxml to 750 so it 
would display properly. 

Would be nice to work out how to build the standalone projector for pc 
and osx via ant aswell.


Dan Rossi wrote:
 No idea I reckon we clean that acegi code up first, because that wiki 
 page was halfbaked and return proper reject messages to the client first 
 maybe ? Ive included a mac projector in that zip, is it possible to make 
 the same on the pc standalone ?

 Martijn van Beek wrote:
   
 Hi Dan,

 Pretty neat. Thanks! Do you know something about the progress 
 concerning submitting the admin panel to the svn? (maybe I missed 
 something)

 Cheers,
 Martijn

 On 7/5/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Ive added quickly the clear text based authentication. I also
 started on
 the client registry example from that page and bits commented out
 in the
 code and xml files, but its terrible documentation, and was full of
 missing bits and discrepancies as the clientregistry had no way of
 getting the scope context like it said. Somebody maybe want to add the
 authentication part back into the clientregistry class properly, which
 throws a clientrejection class aparantly. The rejectclient also
 doesnt
 send the reject message back to the client ?

 Anyway it works as suggested, even though it may be overkill, its prob
 always best to use a standard authentication API like this ?

 http://www.electroteque.org/red5/Admin%20Panel.zip


 Martijn van Beek wrote:
  The restart button is a fake button. It is there for the future
 (i hope).
 
  It should restart an application like we can in FMS
 
  On 7/4/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  Question about the code is, was there a need to rewrite it,
 would
  you be
  able to expose AMF methods which gets the information
 obtained via
  JMX ?
  Its pretty much the same things and then it can prob manage
 a few
  things. How does the restart stuff work, it didnt seem to
 function.
 
  Lenny Sorey wrote:
   Martijn,
  
   I had to change a couple of items and add a context.xml for it
  to work
   in Tomcat.
  
   After you have released you final source, I can writeup some
   instructions for Tomcat
   users.
  
   But again, pretty neat app.  Thanks again.
  
   Regards,
  
   Lenny
  
  
  
   On 7/4/07, *Martijn van Beek*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  
   Thanks Lenny,
  
   I didn't know that would be possible :d
   I dunno tomcat that's why ;)
  
   Cheers,
   Martijn
  
  
   On 7/3/07, *Lenny Sorey*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
  
   Hello Martijn,
  
   I now have you app running within Tomcat red5 app.
  
   I now can connect to any red5 server.
  
   Pretty neat app.
  
   Lenny
  
  
   On 7/3/07, *Martijn van Beek* 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
  
   That looks easy (I will look at it this evening).
  
   If I had internet at home development would
  accelerate :s
  
  
   On 7/3/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  
  
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
   
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
 http://jira.red5.org/confluence

[Red5] twisted, how does this blog work ?

2007-07-06 Thread Dan Rossi
http://red5tutorials.blogspot.com/

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Acegi code working now was Red5 Admin Panel release

2007-07-06 Thread Dan Rossi
Dan Rossi wrote:
 Ive setup an eclipse flexant task version of this here

 http://www.electroteque.org/red5/Red5Admin.zip

 I also edited the width of the application in the mxml to 750 so it 
 would display properly. 

 Would be nice to work out how to build the standalone projector for pc 
 and osx via ant aswell.

   
Ive got the ClientRegistry working which does the authentication in 
there. I think we might need the experts to audit this application maybe 
for performance reasons, there is no documentation for the 
clientregistry at all or how to use it, i really dont know whats going 
on there, i managed to get the scope within newClient by getting the 
Red5 static connection.

Code is all cleaned up and working.

http://www.electroteque.org/red5/adminPanel.zip

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Acegi code working now was Red5 Admin Panel release

2007-07-06 Thread Dan Rossi
You might need to remove the .DS_Store files. I really wished osx didnt 
do that.

Dan Rossi wrote:
 Dan Rossi wrote:
   
 Ive setup an eclipse flexant task version of this here

 http://www.electroteque.org/red5/Red5Admin.zip

 I also edited the width of the application in the mxml to 750 so it 
 would display properly. 

 Would be nice to work out how to build the standalone projector for pc 
 and osx via ant aswell.

   
 
 Ive got the ClientRegistry working which does the authentication in 
 there. I think we might need the experts to audit this application maybe 
 for performance reasons, there is no documentation for the 
 clientregistry at all or how to use it, i really dont know whats going 
 on there, i managed to get the scope within newClient by getting the 
 Red5 static connection.

 Code is all cleaned up and working.

 http://www.electroteque.org/red5/adminPanel.zip

 ___
 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


Re: [Red5] Red5 Admin Panel release

2007-07-06 Thread Dan Rossi
Thats the idea, I forgot about that, its painful to keep up. I thought 
Apollo was going to be called Apollo. This is the one major gripe about 
the flash platform, they cant make up their mind in this technology 
race. You just manage to learn the API of flex 2 and get comfortable 
with it, now 3 is coming out :)

check this

http://airchive.codeapollo.com/browse.php?show=latest

Ok im searching for an ant build for AIR, i saw an example not sure if 
its exact.

Martijn van Beek wrote:
 Adobe AIR is a better solution is my guess. I could make an AIR file 
 of the project (also nice to experiment with).

 On 7/6/07, *Dan Rossi*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 No idea I reckon we clean that acegi code up first, because that wiki
 page was halfbaked and return proper reject messages to the client
 first
 maybe ? Ive included a mac projector in that zip, is it possible
 to make
 the same on the pc standalone ?

 Martijn van Beek wrote:
  Hi Dan,
 
  Pretty neat. Thanks! Do you know something about the progress
  concerning submitting the admin panel to the svn? (maybe I missed
  something)
 
  Cheers,
  Martijn
 
  On 7/5/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  Ive added quickly the clear text based authentication. I also
  started on
  the client registry example from that page and bits
 commented out
  in the
  code and xml files, but its terrible documentation, and was
 full of
  missing bits and discrepancies as the clientregistry had no
 way of
  getting the scope context like it said. Somebody maybe want
 to add the
  authentication part back into the clientregistry class
 properly, which
  throws a clientrejection class aparantly. The rejectclient also
  doesnt
  send the reject message back to the client ?
 
  Anyway it works as suggested, even though it may be
 overkill, its prob
  always best to use a standard authentication API like this ?
 
  http://www.electroteque.org/red5/Admin%20Panel.zip
 
 
  Martijn van Beek wrote:
   The restart button is a fake button. It is there for the
 future
  (i hope).
  
   It should restart an application like we can in FMS
  
   On 7/4/07, *Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  wrote:
  
   Question about the code is, was there a need to
 rewrite it,
  would
   you be
   able to expose AMF methods which gets the information
  obtained via
   JMX ?
   Its pretty much the same things and then it can prob
 manage
  a few
   things. How does the restart stuff work, it didnt seem to
  function.
  
   Lenny Sorey wrote:
Martijn,
   
I had to change a couple of items and add a
 context.xml for it
   to work
in Tomcat.
   
After you have released you final source, I can
 writeup some
instructions for Tomcat
users.
   
But again, pretty neat app.  Thanks again.
   
Regards,
   
Lenny
   
   
   
On 7/4/07, *Martijn van Beek* 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   
Thanks Lenny,
   
I didn't know that would be possible :d
I dunno tomcat that's why ;)
   
Cheers,
Martijn
   
   
On 7/3/07, *Lenny Sorey*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto: [EMAIL PROTECTED]
 mailto:[EMAIL

Re: [Red5] FCS component

2007-07-06 Thread Dan Rossi
Maybe its easy to port it to the javascript scripting , until there is a 
scripting engine available for AS2 / AS3 which would be nice.

Mondain wrote:
 If your components are on the serverside and are written in SSAS or 
 AS you will need to rewrite them to work on red5.

 On 7/3/07, *Kalydi, Gergely Akos * [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Dear All,
  
 I have an application under FCS with the FCS components, I would
 migrate it under Red5.  
 Is there any possibility to use FCS components under RED5 ? 
 Should I have to reWrite all FCS components ? What make the
 components work under RED5 ?
  
 Please help
  
 Geri.

 ___
 Red5 mailing list
 Red5@osflash.org mailto:Red5@osflash.org
 http://osflash.org/mailman/listinfo/red5_osflash.org




 -- 
 It is difficult to free fools from the chains they revere. - Voltaire
 

 ___
 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


Re: [Red5] JMX problems

2007-07-05 Thread Dan Rossi
Thankyou it could be that !

We have internal ips mapped on the public ethernet for the load balancer 
to connect to also. But im trying to RMI in on the public address. Could 
that be it ? It used to work at some stage, why is it I may have to 
connect like

service:jmx:rmi://mypublichost.com:9998/jndi/rmi://mypublichost.com: 
/red5

?


Andreas Folkesson wrote:
 I had the same problem but found a solution. The problem is that JMX  
 opens up a second data port which is not possible to specify in  
 red5. You can modify red5 in the class JMXAgent where the  
 JMXServiceURL is created and replace the line with something like  
 this (around line 306):

   JMXServiceURL url = new JMXServiceURL(service:jmx:rmi://localhost:  
 + (Integer.parseInt(rmiAdapterPort) - 1) +/jndi/rmi://localhost: +  
 rmiAdapterPort + /red5);

 In this case if the specified rmi port is  then the data port  
 will be 9998. So, you now need to open up this port in the firewall.

 You should now be able to connect to the JMX instance using JConsole  
 with this url:

   service:jmx:rmi://mypublichost.com:9998/jndi/rmi://mypublichost.com: 
 /red5

 If you still receives errors then it might be because the server  
 returns the wrong ip (the local) for the JMX client (JConsole) to  
 use.  You might need to specify the following jvm options when you  
 start your red5 server:

   -Djava.rmi.server.hostname=mypublichost.com - 
 Djava.rmi.server.useLocalHostname=true

 I hope this helps and let's hope someone from the red5 team could  
 give us the possibility to change the data port without patching the  
 source in the future.

 /Andreas




 On Jun 27, 2007, at 4:20 AM, Dan Rossi wrote:

   
 Hi for some strange reason our server is impossible to connect to  
 either
 via non-ssl or ssl connections. I am able to connect via localhost but
 when trying to access remotely jconsole wont connect. Is there any way
 to debug this on the server it doesnt really tell me much.

 ___
 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


Re: [Red5] Red5 Admin Panel release

2007-07-05 Thread Dan Rossi
Ive added quickly the clear text based authentication. I also started on 
the client registry example from that page and bits commented out in the 
code and xml files, but its terrible documentation, and was full of 
missing bits and discrepancies as the clientregistry had no way of 
getting the scope context like it said. Somebody maybe want to add the 
authentication part back into the clientregistry class properly, which 
throws a clientrejection class aparantly. The rejectclient also doesnt 
send the reject message back to the client ?

Anyway it works as suggested, even though it may be overkill, its prob 
always best to use a standard authentication API like this ?

http://www.electroteque.org/red5/Admin%20Panel.zip


Martijn van Beek wrote:
 The restart button is a fake button. It is there for the future (i hope).

 It should restart an application like we can in FMS

 On 7/4/07, *Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Question about the code is, was there a need to rewrite it, would
 you be
 able to expose AMF methods which gets the information obtained via
 JMX ?
 Its pretty much the same things and then it can prob manage a few
 things. How does the restart stuff work, it didnt seem to function.

 Lenny Sorey wrote:
  Martijn,
 
  I had to change a couple of items and add a context.xml for it
 to work
  in Tomcat.
 
  After you have released you final source, I can writeup some
  instructions for Tomcat
  users.
 
  But again, pretty neat app.  Thanks again.
 
  Regards,
 
  Lenny
 
 
 
  On 7/4/07, *Martijn van Beek* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  Thanks Lenny,
 
  I didn't know that would be possible :d
  I dunno tomcat that's why ;)
 
  Cheers,
  Martijn
 
 
  On 7/3/07, *Lenny Sorey*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  Hello Martijn,
 
  I now have you app running within Tomcat red5 app.
 
  I now can connect to any red5 server.
 
  Pretty neat app.
 
  Lenny
 
 
  On 7/3/07, *Martijn van Beek* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
 
  That looks easy (I will look at it this evening).
 
  If I had internet at home development would
 accelerate :s
 
 
  On 7/3/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
  
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
 
  Martijn van Beek wrote:
   Acegi looks with a quick look as a complete
 solution
  (even overkill).
  
   I never worked on a project like this. How do
 we or
  where do we set up
   the project?
  
   On 7/3/07, * Dan Rossi* 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  
   Martijn van Beek wrote:
I use WinRar and he claims the zip is good.
   
Dan: I still have to look at authentication
  which isn't my biggest
priority. I first want the tool to be
 useful
  for looking at
   statistics
and for killing connections (which is
 the main
  reason I
   developed it).
   
We could create a project somewhere so
 we can
  work together :d
   OK well im already looking at Acegi for a
 token
  system which is
   far off
   still. There was also a blog about
 implementing
  acegi with clear text
   passwords which is prob the first thing that
  could be done

Re: [Red5] Pre-Generate Metadata was Huge meta files for audio onlyFLV

2007-07-04 Thread Dan Rossi
Ben H Kram wrote:
 Rob,

 Good call! I hadn't though about that.
 Best I think would be to schedule a periodic sweep.

 I thought I saw a scheduler in the API somewhere.
   
Is there something that could be done via the scheduler API, that would 
be intersting. We are rolling out flash version of WMV files, and the 
200MB+ 700K files wont load the first time because its generating the 
cache files, it just sits there and buffers.


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Admin Panel release

2007-07-04 Thread Dan Rossi
Question about the code is, was there a need to rewrite it, would you be 
able to expose AMF methods which gets the information obtained via JMX ? 
Its pretty much the same things and then it can prob manage a few 
things. How does the restart stuff work, it didnt seem to function.

Lenny Sorey wrote:
 Martijn,
  
 I had to change a couple of items and add a context.xml for it to work
 in Tomcat.
  
 After you have released you final source, I can writeup some 
 instructions for Tomcat
 users.
  
 But again, pretty neat app.  Thanks again.
  
 Regards,
  
 Lenny


  
 On 7/4/07, *Martijn van Beek* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Thanks Lenny,

 I didn't know that would be possible :d
 I dunno tomcat that's why ;)

 Cheers,
 Martijn


 On 7/3/07, *Lenny Sorey*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hello Martijn,
  
 I now have you app running within Tomcat red5 app.
  
 I now can connect to any red5 server.
  
 Pretty neat app.
  
 Lenny

  
 On 7/3/07, *Martijn van Beek* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 That looks easy (I will look at it this evening).

 If I had internet at home development would accelerate :s


 On 7/3/07, *Dan Rossi*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security
 
 http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security

 Martijn van Beek wrote:
  Acegi looks with a quick look as a complete solution
 (even overkill).
 
  I never worked on a project like this. How do we or
 where do we set up
  the project?
 
  On 7/3/07, * Dan Rossi* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  Martijn van Beek wrote:
   I use WinRar and he claims the zip is good.
  
   Dan: I still have to look at authentication
 which isn't my biggest
   priority. I first want the tool to be useful
 for looking at
  statistics
   and for killing connections (which is the main
 reason I
  developed it).
  
   We could create a project somewhere so we can
 work together :d
  OK well im already looking at Acegi for a token
 system which is
  far off
  still. There was also a blog about implementing
 acegi with clear text
  passwords which is prob the first thing that
 could be done.
 
  
   I developed using debian with JDK1.6.0
  Im on OSX JDK 1.5, Kubuntu and Win2K3 JDK 1.6.1
 
  Waiting for leapord to get JDK 1.6, its a scam I
 still think just
  to get
  the next major java releases.
 
  ___
  Red5 mailing list
  Red5@osflash.org
 mailto:Red5@osflash.orgmailto: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



 ___
 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

Re: [Red5] multiple flv files play when flash load

2007-07-04 Thread Dan Rossi
Michael Chan wrote:
 Hi, to all red5 developers,
 Can anyone please help in the format of auto onload multiple flv files 
 when flash player loaded on client's screen.
 Objective is to load an short introduction flv file first then broadcast 
 either live  or  play another file within the  streaming server.
 Any suggestions will be thankful.
 MC


   
There has been discussion of ad-insertion, which is pretty much the same 
thing. So request a file and it will append a random or predefined file 
at the start and end of a requested file. Not sure if that is possible 
now without a bit of hacking somewhere. If you want to start on it be my 
guest, getting back to a few red5 things next week i ran off course this 
week looking at token security .NET plugins for windows media only to 
find out the punks restricted custom plugins for 2K3 Enterprise server 
only !! Anyway getting back onto it it would have to be hacked up 
somewhere around where the filename generator is called or something. I 
think steve mentioned it was possible ?

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Performance problems

2007-07-04 Thread Dan Rossi
Set the video quality to 95% ive noticed that at 100% is starts to 
produce dropped frames, video to 192x144, buffer to 2-5. You prob want 
either 0 or 50% for audio silence level correct ? Make sure you have the 
latest red5 release or svn, previous ones had frame dropping problems. 
We get them still but randomly, frames are perfect.

Daniel Gwerzman wrote:
 Hi all,

 I need your help with an application that I developed.

 The application has rooms that clients can connect to. Each room has 
 one live broadcast and 3 SharedObject. One SO is used to display a 
 list of other clients currently in the room, one SO for messaging 
 inside the room and one for internal client data.

 When I run my application in my lab everything works great but when I 
 run it over the internet I notice 2 performance problems:
 1. As long as I broadcast only the camera the performance looks 
 “reasonable”. Unfortunately when I add the audio to the stream, the 
 broadcast slows down quit a lot and I experience many pauses.
 2. This performance degradation is not limited to the video level and 
 it also manifests itself in the shared objects level as well. In other 
 words it can take a few seconds for a client to receive a message he 
 has just sent.

 I tried to tweak the camera setting and these are the results:
 Camera1.setMode(120, 120, 10);
 Camera1.setQuality(12000, 0);
 Camera1.setLoopback(false);
 Microphone1.setSilenceLevel(1);
 Microphone1.setRate(11);

 The RED5 server is running on a windows server .
 I didn’t change any of the RED5 default setting.

 I would appreciate any help and suggestions with this issue.

 _
 Don't get caught with egg on your face. Play Chicktionary! 
 http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2


 

 ___
 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


Re: [Red5] multiple flv files play when flash load

2007-07-04 Thread Dan Rossi
Jason Powell wrote:
 The problem I encountered was if I had it play a video first, it'd start
 that video's duration into the requested file (ie. I prepend a 30 second
 animation, when it rolled over to the next item on the playlist, it
 would skip the first 30 seconds.  If that item was 2 minutes, it'd skip
 the first 2:30 of the next item, etc)
   

If you are talking the rotating server side playlist, I always found 
that problem, its timecodes and keyframes were all out of wack, I gave 
up on that. Its prob not skipping 30 seconds of the next file, it prob 
just thinks the previous one hasnt ended yet, or in my case was cutting 
10 seconds before the end when rotating. What would be nice is a smooth 
fade to black and black pause between files !


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] multiple flv files play when flash load

2007-07-04 Thread Dan Rossi
Jason Powell wrote:
  Damn work taking away
 from play time :)

   
Thats exactly right no energy for creativity.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Admin Panel release

2007-07-03 Thread Dan Rossi
Martijn van Beek wrote:
 I use WinRar and he claims the zip is good.

 Dan: I still have to look at authentication which isn't my biggest 
 priority. I first want the tool to be useful for looking at statistics 
 and for killing connections (which is the main reason I developed it).

 We could create a project somewhere so we can work together :d
OK well im already looking at Acegi for a token system which is far off 
still. There was also a blog about implementing acegi with clear text 
passwords which is prob the first thing that could be done.


 I developed using debian with JDK1.6.0
Im on OSX JDK 1.5, Kubuntu and Win2K3 JDK 1.6.1

Waiting for leapord to get JDK 1.6, its a scam I still think just to get 
the next major java releases.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Admin Panel release

2007-07-03 Thread Dan Rossi
http://jira.red5.org/confluence/display/docs/Red5+and+Acegi+Security

Martijn van Beek wrote:
 Acegi looks with a quick look as a complete solution (even overkill).

 I never worked on a project like this. How do we or where do we set up 
 the project?

 On 7/3/07, * Dan Rossi* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Martijn van Beek wrote:
  I use WinRar and he claims the zip is good.
 
  Dan: I still have to look at authentication which isn't my biggest
  priority. I first want the tool to be useful for looking at
 statistics
  and for killing connections (which is the main reason I
 developed it).
 
  We could create a project somewhere so we can work together :d
 OK well im already looking at Acegi for a token system which is
 far off
 still. There was also a blog about implementing acegi with clear text
 passwords which is prob the first thing that could be done.

 
  I developed using debian with JDK1.6.0
 Im on OSX JDK 1.5, Kubuntu and Win2K3 JDK 1.6.1

 Waiting for leapord to get JDK 1.6, its a scam I still think just
 to get
 the next major java releases.

 ___
 Red5 mailing list
 Red5@osflash.org mailto: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


  1   2   3   4   5   6   7   8   9   10   >