Re: [Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
The connection is not related to eclipse or terracotta. Please check the configuration of red5-edge-core.xml, the bean config of MRTMPClient to see if you have configured the host correctly. The default value is localhost. On 9/10/07, Daniel Rossi [EMAIL PROTECTED] wrote: Looks like with an edge running locally via eclipse, connecting to a terracotta also ran via eclipse, it wont connect to a remote origin server. I even turned off the firewall. On 08/09/2007, at 11:39 PM, Daniel Rossi wrote: Here is the step ive taken with the cluster branch in eclipse though for debugging Requires terracotta eclipse plugin. 1. Create terracotta nature for project 2. Choose tc-config.xml in the nature dialog 3. install the entire terracotta directory into the root of the cluster project 4. it requires some bootstrap jar created, which can be done by doing right click project - terracotta - build bootjar 5. right click red5_server_cluster , terracotta , servers , localhost to start terracotta 6. Create red5 origin debug profile with just org.red5.server.Standalonein the main class section 7. Create red5 edge debug profile with org.red5.server.Standalone in the class section, red5-edge.xml in the program arguments section, - Dtc.install-root=terracotta/ -Xbootclasspath/p:. -Dtc.config=tc-config-edge.xml in the JVM arguments section. 8. start red5 origin debug profile, then edge / terracotta debug profile. If i choose to connect to the terracotta admin console on localhost and port 9520 nothing shows up ? On 08/09/2007, at 11:12 PM, Lenny Sorey wrote: Steven, Thanks for your response. Lenny On 9/8/07, Steven Gong [EMAIL PROTECTED] wrote: Lenny, On 9/8/07, Lenny Sorey [EMAIL PROTECTED] wrote: Hi Steven, Apologies for asking because I am sure it is somewhere in the list, but would you mind pointing me again to the setup docs for Origin / Edge / Terracotta. No problem. Here's the steps I wrote last time: 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 will write a full doc on wiki these days. I have some time this weekend so I would like to set up this on three machines via using Win2K, Tomcat / Apache / Terracotta That's great! Thanks a lot. Thanks, Lenny On 9/8/07, Steven Gong [EMAIL PROTECTED] wrote: On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Well i cant see any debug info of the connection stuff even though ive set INFO to mrtmp. I shut down the origin, and yes give it a minute or so the stream stops. Thats possibly not a good thing requiring a couple of origin servers just in case one machine dies :) What do you think ? The final solution will support the fail-over of Origins. Well thanks for your help its working for me locally, but running stuff via eclipse and the edge is configured with terracotta, though dont i have to run terracotta manually first aswell ? Yes, of course. :-) On 08/09/2007, at 9:46 PM, Steven Gong wrote: On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Ok did some research, some people on this list have had it before its a VM specific error and is ignorable, though i still cant work out if the edge is actually connecting, cant see much debug info for it, and if i shut down the origin its still running as normal ie the video is still playing. Don't know the reason why the video is still playing when you shutdown the origin. Maybe the video file is already cached on the client. The client won't be disconnected when you shutdown the Origin because the client connects to Edge. http://jira.codehaus.org/browse/JETTY-227 Its a constant error though. On 08/09/2007, at 9:26 PM, Daniel Rossi wrote: Ok tried a few things, Setup a edge / terracotta debug profile with vm args -Dtc.install-root=terracotta
[Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
Hi all, Orion, Tim and I had a meeting discussing the current status and future plan of Red5 Edge/Origin with Terracotta integration. Below is the detail. (1) Deadlock issue: Orion and Tim explained the auto-lock concept to me and helped to solve the deadlock issue caused by misconfiguration of auto-locks. Now the Edge/Origin Red5 won't get deadlocked on Terracotta. (2) Performance test and tuning: We plan to do performance test and tuning in the next step to verify the design and implementation of the Edge/Origin prototype. Orion and Tim gave some advice on how to do performance test and tuning on Terracotta. Orion will also provide several online HW resources for the test. This is very helpful for clustering performance test when several machines are available to setup the server environment. Great thanks to Orion and other Terracotta guys to make this happen! So we will move forward to test the prototype and do the enhancement afterwards. To all the Red5 users, Now you can try to run Edge/Origin prototype on Terracotta. Theoretically you can run all the servers on one machine: Edge, Origin and Terracotta server. But the recommended configuration is to put each server to their own machine, especially the Terracotta server. To run the servers, the only difference from the version without Terracotta is that you need to start the Edge on Terracotta with the configuration file tc-config-edge.xml in the root dir of the clustering branch. Feel free to report issues during your experiment. Thanks! -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
Only Origin needs to connect to the file server in this prototype and now only one Origin is supported. The load-balancer is connected to Edges. So if you have 5 machines, you can use one as Origin, one as Terracotta server, one as load-balancer and 2 as Edges. On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Sorry me again, with this configuration, we have 5 clustered machines connecting to a NAS, what would be the best configuration for this in this scenario ? One machine is the origin and not attached to the load balancer which is also running terracotta, 4 machines running as the frontend edge machines and attached to the load balancer ? They are all running 3G P4's and 2G of ram. Is it possible to run the cluster files from the NAS storage itself rather than having seperate set of files on each machine ? This means i just need to update it in one spot, but not sure if that will affect performance, especially for reads for the files. I am finding some errors at times where there is network issues getting the files for some reason. On 08/09/2007, at 7:44 PM, Steven Gong wrote: Hi all, Orion, Tim and I had a meeting discussing the current status and future plan of Red5 Edge/Origin with Terracotta integration. Below is the detail. (1) Deadlock issue: Orion and Tim explained the auto-lock concept to me and helped to solve the deadlock issue caused by misconfiguration of auto-locks. Now the Edge/Origin Red5 won't get deadlocked on Terracotta. (2) Performance test and tuning: We plan to do performance test and tuning in the next step to verify the design and implementation of the Edge/Origin prototype. Orion and Tim gave some advice on how to do performance test and tuning on Terracotta. Orion will also provide several online HW resources for the test. This is very helpful for clustering performance test when several machines are available to setup the server environment. Great thanks to Orion and other Terracotta guys to make this happen! So we will move forward to test the prototype and do the enhancement afterwards. To all the Red5 users, Now you can try to run Edge/Origin prototype on Terracotta. Theoretically you can run all the servers on one machine: Edge, Origin and Terracotta server. But the recommended configuration is to put each server to their own machine, especially the Terracotta server. To run the servers, the only difference from the version without Terracotta is that you need to start the Edge on Terracotta with the configuration file tc-config-edge.xml in the root dir of the clustering branch. Feel free to report issues during your experiment. Thanks! -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home 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 -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
I don't think that's possible as no RTMPT port is opened on Origin. The Origin only opens the MRTMP port (9035 by default). On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: I'm getting a port conflict trying to run both the edge and origin from the same checkout, so do i have to make a copy and change the rtmpt port for the origin like i had to do before ? On 08/09/2007, at 8:05 PM, Daniel Rossi wrote: On 08/09/2007, at 7:44 PM, Steven Gong wrote: To run the servers, the only difference from the version without Terracotta is that you need to start the Edge on Terracotta with the configuration file tc-config-edge.xml in the root dir of the clustering branch. Feel free to report issues during your experiment. Thanks! This doesnt make sense, is these rc scripts correct ? #edge exec $JAVA -Djava.security.manager -Djava.security.policy=conf/ red5.policy -cp red5.jar:conf:$CLASSPATH org.red5.server.Standalone conf/red5-edge.xml #origin exec $JAVA -Djava.security.manager -Djava.security.policy=conf/ red5.policy -cp red5.jar:conf:$CLASSPATH org.red5.server.Standalone ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
Dan, I've never met the error you got. Make sure that you start the Origin before Edge. On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Sorry steve, i had to put in the arguments tab obviouslly :) red5-edge.xml This is working via eclipse, so ill just use the debug profiles i setup for now. Though im guessing to implement the terracotta stuff into the edge, ill have to include more stuff into the edge profile ? Actually i just got these errors after a while, though the app connected. Maybe its connecting to the origin ? 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 java.nio.channels.SelectionKey.isAcceptable(SelectionKey.java:342) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( SelectorManager.java:337) 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) On 08/09/2007, at 8:18 PM, Steven Gong wrote: Sorry that I have only run the servers inside Eclipse and haven't updated the scripts yet. The Edge can be started by passing red-edge.xml as parameter, the conf/ prefix is not needed. To start the Edge on Terracotta, you can follow the tutorials from terracotta site www.terracotta.org. Basically On linux: ${JAVA_HOME}/bin/java -Dtc.install-root=${TC_HOME}-Xbootclasspath/p:dso-boot-jar-path - Dtc.config=tc-config-path startup-classname And on windows: %JAVA_HOME%\bin\java -Dtc.install-root=${TC_HOME}-Xbootclasspath/p:dso-boot-jar-path - Dtc.config=tc-config-path startup-classname On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: On 08/09/2007, at 7:44 PM, Steven Gong wrote: To run the servers, the only difference from the version without Terracotta is that you need to start the Edge on Terracotta with the configuration file tc-config-edge.xml in the root dir
Re: [Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: On 08/09/2007, at 8:10 PM, Steven Gong wrote: Only Origin needs to connect to the file server in this prototype and now only one Origin is supported. The load-balancer is connected to Edges. So if you have 5 machines, you can use one as Origin, one as Terracotta server, one as load-balancer and 2 as Edges. Ok so no need to use a network switch load balancer, its done via terracotta ? A generic HTTP load-balancer is needed (but not mandatory) and it's not part of the feature of terracotta. Terracotta only makes sure the state of connections are shared by all Edges. I still cant get it connected rtmpt://localhost:8088/oflaDemo (314) Connections: true | true (13863) connected?: true (76961) NetConnection.onStatus: level = status code = NetConnection.Connect.Closed (76987) disconnected: (79193) connected?: true (131305) NetConnection.onStatus: level = status code = NetConnection.Connect.Closed (131332) disconnected: (134721) connected?: true Hangs on connection, and then eventually this [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) On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Sorry me again, with this configuration, we have 5 clustered machines connecting to a NAS, what would be the best configuration for this in this scenario ? One machine is the origin and not attached to the load balancer which is also running terracotta, 4 machines running as the frontend edge machines and attached to the load balancer ? They are all running 3G P4's and 2G of ram. Is it possible to run the cluster files from the NAS storage itself rather than having seperate set of files on each machine ? This means i just need to update it in one spot, but not sure if that will affect performance, especially for reads for the files. I am finding some errors at times where there is network issues getting the files for some reason. On 08/09/2007, at 7:44 PM, Steven Gong wrote: Hi all, Orion, Tim and I had a meeting discussing the current status and future plan of Red5 Edge/Origin with Terracotta integration. Below is the detail. (1) Deadlock issue: Orion and Tim explained the auto-lock concept to me and helped to solve the deadlock issue caused by misconfiguration of auto-locks. Now the Edge/Origin Red5 won't get deadlocked on Terracotta. (2) Performance test and tuning: We plan to do performance test and tuning in the next step to verify the design and implementation of the Edge/Origin prototype. Orion and Tim gave some advice on how to do performance test and tuning on Terracotta. Orion will also provide several online HW resources for the test. This is very helpful for clustering performance test when several machines are available to setup the server environment. Great thanks to Orion and other Terracotta guys to make this happen! So we will move forward to test the prototype and do the enhancement afterwards. To all the Red5 users, Now you can try to run Edge/Origin prototype on Terracotta. Theoretically you can run all the servers on one machine: Edge, Origin and Terracotta server. But the recommended configuration is to put each server to their own machine, especially the Terracotta server. To run the servers, the only difference from the version without Terracotta is that you need to start the Edge on Terracotta with the configuration file tc-config-edge.xml in the root dir of the clustering branch. Feel free to report issues during your experiment. Thanks! -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home 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
Re: [Red5] Red5 Edge/Origin + Terracotta Meeting Minutes (2007/9/7)
Lenny, I haven't tested with Tomcat yet. Origin server doesn't need to run on Tomcat and all apps are on Origin. So there's no app on Edge server. Theoretically you only need to package the things an Edge server need into webwar. For now to run ant webwar should be OK, but you need to point the spring root file to red5-edge.xml not red5.xml. On 9/8/07, Lenny Sorey [EMAIL PROTECTED] wrote: Steven, I plan on placing the Origin piece on one machine and the Edge piece on another machine. Do I just build the apps for Tomcat using ant webwar and place a copy into each Machines Tomcat/webapps folder? Docs a little sketchy for Tomcat. Thanks, Lenny On 9/8/07, Steven Gong [EMAIL PROTECTED] wrote: Lenny, On 9/8/07, Lenny Sorey [EMAIL PROTECTED] wrote: Hi Steven, Apologies for asking because I am sure it is somewhere in the list, but would you mind pointing me again to the setup docs for Origin / Edge / Terracotta. No problem. Here's the steps I wrote last time: 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 will write a full doc on wiki these days. I have some time this weekend so I would like to set up this on three machines via using Win2K, Tomcat / Apache / Terracotta That's great! Thanks a lot. Thanks, Lenny On 9/8/07, Steven Gong [EMAIL PROTECTED] wrote: On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Well i cant see any debug info of the connection stuff even though ive set INFO to mrtmp. I shut down the origin, and yes give it a minute or so the stream stops. Thats possibly not a good thing requiring a couple of origin servers just in case one machine dies :) What do you think ? The final solution will support the fail-over of Origins. Well thanks for your help its working for me locally, but running stuff via eclipse and the edge is configured with terracotta, though dont i have to run terracotta manually first aswell ? Yes, of course. :-) On 08/09/2007, at 9:46 PM, Steven Gong wrote: On 9/8/07, Daniel Rossi [EMAIL PROTECTED] wrote: Ok did some research, some people on this list have had it before its a VM specific error and is ignorable, though i still cant work out if the edge is actually connecting, cant see much debug info for it, and if i shut down the origin its still running as normal ie the video is still playing. Don't know the reason why the video is still playing when you shutdown the origin. Maybe the video file is already cached on the client. The client won't be disconnected when you shutdown the Origin because the client connects to Edge. http://jira.codehaus.org/browse/JETTY-227 Its a constant error though. On 08/09/2007, at 9:26 PM, Daniel Rossi wrote: Ok tried a few things, Setup a edge / terracotta debug profile with vm args -Dtc.install-root=terracotta/ -Xbootclasspath/p:. -Dtc.config=tc-config-edge.xml the program args is red5-edge.xml oflademo.swf connects, but then after a while i get this, if i shut down the origin server the file still plays is this expected ? It doesnt seem like its loading the origin. I start the origin debug profile first, and then the edge profile. [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
Re: [Red5] chunk too small log on trunk
.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket ) Chunk too small, buffering (89,128 [DEBUG] 2007-09-03 14:37:02,735 SocketAcceptorIoProcessor-0.1:( org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket ) Chunk too small, buffering (57,128 [DEBUG] 2007-09-03 14:37:02,788 SocketAcceptorIoProcessor-0.1:( org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket ) Chunk too small, buffering (96,128 ___ 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 -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch
(ContextHandler.java:689) at org.mortbay.jetty.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:146) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 457) at org.mortbay.jetty.HttpConnection$RequestHandler.content (HttpConnection.java:765) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java: 627) at org.mortbay.jetty.HttpParser.parseAvailable (HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle (HttpConnection.java:357) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:329) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid (SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps (SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys (KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect (SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect (SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept (SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run (AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid (SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps (SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys (KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect (SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect (SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept (SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run (AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid (SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps (SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys (KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect (SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect (SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept (SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run (AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:475) Steven Gong wrote: Hi all, I've checked in the prototype for Edge/Origin to the clustering branch: http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering http://svn1.cvsdude.com/osflash/red5/java/server/branches/ clustering I haven't integrated the Edge with Terracotta yet but will do it soon. Now you can play with it on two machines with one Origin server and one Edge server. (Of course, it should work for one Origin and several Edges. But I have never tried it. :-) ) The Edge server is accessed by RTMPT. The RTMP Edge support will be added after the Edge/Origin with Terracotta prototype is done. How to run the prototype inside Eclipse: (1) Check out the code first. (2) Start Origin server by running Standalone without arguments. (3) Start Edge server by running
Re: [Red5] When I add the port number to the connection string the connection fails
Just curious. Why you add the redundant '80' to the url? On 8/23/07, Naicu Octavian [EMAIL PROTECTED] wrote: I have a Red5 server set up on Fedora Core with port 80 set up for rtmpt in red5.properties . My issue comes from trying to connect over rtmpt Whenever I use rtmpt://subdomain.server.com/myapp the connection succeeds aand my chat app works just fine Whenever I use rtmpt://subdomain.server.com:80/myapp the connection fails with the below onStatus message: description:No scope chatapp/avcdr on this server. code:NetConnection.Connect.InvalidApp level:error The default port for rtmpt is 80 so I do not see why I get the isssue above! ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Edge/Origin prototype is on the clustering branch
Dan, That's great! You rock! \o/\o/\o/ :-) On 8/23/07, Dan Rossi [EMAIL PROTECTED] wrote: 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 -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch
) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java :105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept( SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java :498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java :69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java :105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept( SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java :498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java :69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java :105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept( SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java :498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:475) Steven Gong wrote: Hi all, I've checked in the prototype for Edge/Origin to the clustering branch: http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering I haven't integrated the Edge with Terracotta yet but will do it soon. Now you can play with it on two machines with one Origin server and one Edge server. (Of course, it should work for one Origin and several Edges. But I have never tried it. :-) ) The Edge server is accessed by RTMPT. The RTMP Edge support will be added after the Edge/Origin with Terracotta prototype is done. How to run the prototype inside Eclipse: (1) Check out the code first. (2) Start Origin server by running Standalone without arguments. (3) Start Edge server by running Standalone with argument red5-edge.xml (4) Connect the Edge by RTMPT on port 8088. For example, rtmpt://localhost:8088/oflaDemo The default setting of Edge is to connect Origin locally. You can modify the server property of mrtmpClient bean in red5-edge-core.xml to set the address of Origin server. I appreciate your feedbacks and suggestions for the prototype. Enjoy!~~ -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home http://jira.red5.org/confluence/display/%7Esteven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Exceptions - Edge/Origin prototype is on the clustering branch
The default port is at 9035 on Origin. You can configure the value in red5.properties. On 8/23/07, Dan Rossi [EMAIL PROTECTED] wrote: Hang on, does the origin communicate back to the edge ? If so what ports do i need to open at my lan router. Dan Rossi wrote: Steven Gong wrote: Yes, that is a limitation for the prototype now as I haven't done the intelligent connection management. You should make sure that the Origin is started up BEFORE you start up the Edge and also make sure the Edge can connect to Origin successfully. Anyway thanks for your information. Its not connecting ? How can I work that out , the port is open. The origin is up before the edge. On 8/23/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorry the origin server was firewalled its open now, i doubt it works set to localhost either, as I cant have both running. [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys (KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select (SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java :73) at org.mortbay.jetty.nio.SelectChannelConnector.accept( SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run( AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps (SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys( KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect (SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect( SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect (SelectorManager.java :73) at org.mortbay.jetty.nio.SelectChannelConnector.accept( SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run( AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:475) Dan Rossi wrote: Tried a few combinations, including setting the origin host to electroteque.org http://electroteque.org and localhost. I think there is a problem in the edge config. Connecting with this private var serverURL:String = rtmpt://localhost:8088/oflaDemo/; [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2641 ms [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) Could not process message. java.lang.NullPointerException at org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage( EdgeRTMPTHandler.java:181) at org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect( EdgeRTMPTHandler.java:165) at org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived( EdgeRTMPTHandler.java:58) at org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java :355) at org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java :433) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java :367) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java :689) at org.mortbay.jetty.handler.ContextHandlerCollection.handle( ContextHandlerCollection.java:146) at org.mortbay.jetty.handler.HandlerCollection.handle( HandlerCollection.java :114
Re: [Red5] The New Flash Player
On 8/22/07, João Fernandes [EMAIL PROTECTED] wrote: yes you did, Adobe cares too much about backward compatibility so they won't never discontinue current codecs. Also, for your information, sorenson will be the only codec available for encoding from within Flash Player and they don't plan to add On2 or h.264 codecs. You will be able to encode in those formats with 3rd party tools or with FMEncoder but not within Flash Player or AIR. They are adding new functionality, not replacing old by new. That's the point! As long as the new Player doesn't send out content that Red5 can't handle, we are happy with it. João Fernandes Tabitha Flash wrote: Hi, While I believe the name Red5 is of no relevence to its future success, I am worried that this recently announced release of the flash player will not support old video (and possibly audio) codecs and that any future server delivery of audio and video will have to come from FMS. I.e. The player will not support the existing codecs for live, pre recorded or any type of stream. FMS will convert everything and Red5 and the like will not work unless they can transcode on the fly. Video conferencing for example will not work using Red5. Have I got this wrong? I hope so! Tabby *Walter Tak [EMAIL PROTECTED] [EMAIL PROTECTED]* wrote: How about Yellow6 or Green4 ? I mean ; who cares about a name. It isn't worth much since it's mostly known to developers and those don't care if the project is called XX73262, purple31337 or none.com. The zillion blogs that would write about a forced renaming of Red5 to would be high in the ranks of G00gle so ppl searching for Red5 after the namechange would end up on the new domainname in seconds. IF however Red5 is violating anything, be it reverse engineering, which seems to be illegal in several countries then this project is at risk, right ? I'd like to hear some of the (other) developers views on this case since we're heavily investing in Red5-technology and we wouldn't like to hear that the product would be declared 'illegal' in the near future. Regards, Walter - Original Message - *From:* hank williams [EMAIL PROTECTED] *To:* red5@osflash.org *Sent:* Wednesday, August 22, 2007 12:16 AM *Subject:* Re: [Red5] H.264 codec on Flash player... but not for Red5? 1. I am not clear what name you are saying red5 comes close to infringing. 2. If it does, there are no damages without notice. You cannot sue if you ask someone to change the name and they do. Its not like copyright infringement where any infringement creates a statutory liability. Therefore any intelligent open source project would just change its name. This would not be a smart strategy for eliminating open source and I *strongly* doubt red5 is at any risk from this kind of a plan. Regards, Hank -- I am using the free version of SPAMfighter for private users. It has removed 10775 spam emails to date. Paying users do not have this message in their emails. Try SPAMfighter http://www.spamfighter.com/len for free now! ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- For ideas on reducing your carbon footprint visit Yahoo! For Goodhttp://uk.promotions.yahoo.com/forgood/environment.htmlthis month. -- ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Edge/Origin prototype is on the clustering branch
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] 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] 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 -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men
Re: [Red5] Edge/Origin prototype is on the clustering branch
Bill, I will add a new page describing the details of this prototype effort. Before that you can take a look at the design page that reflects the current implementation: http://jira.red5.org/confluence/display/CLU/Edge+Origin+Solution+on+Terracotta The scenario should be the same as FMS's Edge/Origin solution that the clients connect to Edge servers and the Edge server connects to Origin server. The current prototype only supports a single Origin server that could be connected by several Edge servers and the client should connect to Edge via RTMPT. On 8/21/07, Sales Department [EMAIL PROTECTED] 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 -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
[Red5] 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 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] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Fast client to all client publishing
I believe this should be OK. This can be implemented in a Live streaming session. On 8/14/07, nomIad [EMAIL PROTECTED] wrote: hehe, sounds good because this would be a possible extension. Lets say something like a multicast group. You can add multiple clients to a group. You have something like a broadcaster and it ll broadcast to all clients with fast performance. Lets say like a stream but with data. cu nomIad Steven Gong schrieb: IIUC the RSO seems to be the only official way to make a broadcast call across the clients. Correct me if I am wrong. On 8/14/07, nomIad [EMAIL PROTECTED] wrote: Hi guys, Is there a better way to broadcast the SAME data to multiple clients. A fast way is the shared object. I want to use the NetConnection for calls. So the utility server side ist the ServiceUtil witch can invoke on multiple clients. So is this the fastest way or ist there something faster when using no shared objects? cu nomIad ___ Red5 mailing list 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] InfraRed5 Red5 Consultant: http://www.infrared5.com, [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 [EMAIL PROTECTED]://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- Best Regards Steven Gong Intel Asia-Pacific RD SSG BIOS Engineer No. 880, Zi Xing Road, Shanghai, China Work Phone: +86-021-61166787 Work Mail: [EMAIL PROTECTED] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Don't catch people having a bad day
Well, considering that he's expressed his apology, let's look over that crap this time... On 8/8/07, Rob Schoenaker [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 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] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Don't catch people having a bad day
I believe it's a good idea to make a version without spring. The spring beans make clustering configuration much more difficult. On 8/9/07, Dan Rossi [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 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] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] archive to network drive still a problem ?
Are you sure it's the Red5 issue or the OS issue? On 8/6/07, Dan Rossi [EMAIL PROTECTED] wrote: 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 -- 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] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] archive to network drive still a problem ?
Are you using the default FLVReader? I doubt if the memory mapped file is the culprit for network attached disks. On 8/6/07, Dan Rossi [EMAIL PROTECTED] wrote: I dont know, how would i be able to tell there is no errors ? I have experience some wierd things in the logs, something to do about buffers from the storage could that be it ? Steven Gong wrote: Are you sure it's the Red5 issue or the OS issue? On 8/6/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 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 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 -- 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] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] archive to network drive still a problem ?
Well, if you feel it's urgent, you can implement an FLVReader without using memory mapped file. You can use FileInputStream to simulate the APIs exposed by FLVReader. On 8/6/07, Dan Rossi [EMAIL PROTECTED] wrote: Any ideas how to debug this then ? Steven Gong wrote: Are you using the default FLVReader? I doubt if the memory mapped file is the culprit for network attached disks. On 8/6/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I dont know, how would i be able to tell there is no errors ? I have experience some wierd things in the logs, something to do about buffers from the storage could that be it ? Steven Gong wrote: Are you sure it's the Red5 issue or the OS issue? On 8/6/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 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 mailto:Red5@osflash.org mailto: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] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home http://jira.red5.org/confluence/display/%7Esteven/Home http://jira.red5.org/confluence/display/%7Esteven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org mailto:Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list Red5@osflash.org mailto:Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- 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 -- 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] InfraRed5 Red5 Consultant: http://www.infrared5.com, [EMAIL PROTECTED] Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] a success last weekend
That's really really exciting! Thanks for reporting Bill! On 7/31/07, Sales Department [EMAIL PROTECTED] wrote: Hello all, Just wanted to let everyone know of a series of live webcasts we did on our Red5 servers over the past few days. It was a great success! As a fund raiser, a local charitable foundation held a 300 mile bike tour across Michigan over 3 days starting last Friday. We went on the road with them and did live webcasts from each of their stops, plus a live webcast of their awards presentation on Saturday night. We also ran several Video On Demand films during the down time. Over 4,000 people visited the webcasts and we had Zero problems! In fact, I started a Flash client at my office two days before we left, and it was still connected and working when I returned today! Congratulations and thanks to everyone who has made the Red 5 project happen!!! Bill ___ Red5 mailing list 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
Re: [Red5] RTMPT Performance
Seraphi, I think that this might be due to the polling messages. Can you tell me what streams were you using, live stream or vod stream? On 7/26/07, Seraphi [EMAIL PROTECTED] wrote: I have been playing around with RTMPT and have found that the it performs very poorly on a congested link in comparison to RTMP. This is pretty easy to demonstrate. Load up multiple streams on a low bandwidth Internet connection using one and then the other. Is this performance difference to be expected, or do I need to tune something? -Seraphi Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz ___ Red5 mailing list 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] Red5 + Terracotta -- A Preview Version of Remote SharedObject Clustering Prototype is available on SVN
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 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 http://osflash.org/mailman/listinfo/red5_osflash.org
Re: [Red5] Multiple Red5 servers
Orion, On 7/24/07, Orion Letizi [EMAIL PROTECTED] wrote: This is still in the experimental phase. We've gotten the shared object facility clustered in a proof-of-concept, but that has yet to be integrated into the red5 core. Steven Gong is currently working on that. The next step is to iron out the architecture for scaling out streams. I want to fire up discussion about this. I'd like to drill down into a little more detail about exactly what would be clustered with Terracotta. Steven, have you experimented with implementing any of the edge/origin stuff described in your architecture diagram? Were you planning on building the Edge server from scratch, or did you have a caching proxy server already in mind that you were going to use? I plan to build the Edge server based on the Red5 code as many stuff are already there like RTMP codec. 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. Cheers, Orion Sean Newman wrote: Hi,There's been some work with Terracotta to support load balancing with Red 5. See the info here: http://jira.red5.org/confluence/display/CLU/Edge+Origin+Solution+on+TerracottaI'm not sure how far they've reached with this, if its ready for production yet, but have a look.Sean Date: Tue, 24 Jul 2007 04:17:49 -0700 From: [EMAIL PROTECTED] To: red5@osflash.org Subject: [Red5] Multiple Red5 servers Hi, Does Red5 support multiple servers? Something like this in FMS: http://www.adobe.com/products/flashmediaserver/productinfo/features/#f-7 For voice chat, with a Intel Duo Core 3GHz and 1GB of memory, Ubuntu, how many simultaneous user can Red5 handle? How much bandwidth does the server need for voice communication between 2 users? For example, if I want Red5 to serve 500 simultaneous voice chat users, what are the recommended hardware and bandwidth? Thanks. Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org _ With Windows Live Hotmail, you can personalize your inbox with your favorite color. www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-usocid=TXT_TAGLM_HMWL_reten_addcolor_0607 ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- View this message in context: http://www.nabble.com/Multiple-Red5-servers-tf4135293.html#a11766242 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 -- 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
Re: [Red5] Multiple Red5 servers
Dan, On 7/25/07, Dan Rossi [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 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
Re: [Red5] Red5 + Terracotta -- A Preview Version of Remote SharedObject Clustering Prototype is available on SVN
Dan, Just as what Orion said, Terracotta is pluggable to Red5 and we are trying hard to refactor the code so that there's no explicit TC feature in the code base. So in the production env, you can run Red5 as a normal app or as a TC-instrumented app without any code changes and with no or minor configuration changes. On 7/25/07, Dan Rossi [EMAIL PROTECTED] wrote: 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 -- 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
Re: [Red5] Red5 + Terracotta -- A Preview Version of Remote SharedObject Clustering Prototype is available on SVN
Orion, On 7/25/07, Orion Letizi [EMAIL PROTECTED] wrote: Awesome, Steve. I'll check it out as asap. BTW, I've been wrangling with Ari and Steve Harris (both Terracotta folks) to work up some detailed comments on your proposed Edge/Origin architecture. I was hoping to have something by today, but I couldn't make everyone's schedule line up yesterday. I'll try again today. It's cool. Can't wait to see this happen. :-) 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. Cheers, Orion Dan Rossi-5 wrote: 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 -- View this message in context: http://www.nabble.com/Red5-%2B-TerracottaA-Preview-Version-of-Remote-SharedObject-Clustering-Prototype-is-available-on-SVN-tf4140489.html#a11782843 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 -- 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
Re: [Red5] Working Red5 WebSites / Samples
Just added http://www.weekee.tv to the page. On 7/24/07, Thijs Triemstra | Collab [EMAIL PROTECTED] wrote: Thanks for that list Pierre. I made a page in the wiki where people can add their Red5 based applications. Feel free to add your own on http://osflash.org/red5/showcase Thijs On Jul 24, 2007, at 3:03 PM, Pierre Augier wrote: http://www.openmeetings.net/ http://www.dokeos.com (videconf module) == both by Sebastian Wagner http://spreed.com/ == not 100% shure that's it's red5 but there a link on joachim-bauch webpage so i guess it's from him http://www.videokent.com/videochat.php (seen on this mailing list) ... and many other ... (mine app in one month i hope) it could be a good idea to list them on red5 project webpage regards Pierre Augier Ben Wade a écrit : Can someone send over links of current working websites with movies/multimedia using red5 to stream? I'd like to see what red5 is capable of doing in a real world production environment. Regards, Ben Wade - --- ___ 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 -- 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] Red5 Edge/Origin Solution based on Terracotta
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 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
Re: [Red5] Red5 Edge/Origin Solution based on Terracotta
Hi Dan, On 7/22/07, Dan Rossi [EMAIL PROTECTED] wrote: 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 ? We are working on the solution without hacking but refactoring. 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 ? The server number in the doc is only for reference purpose. Ultimately 1 Edge, 1 Origin, 1 TC server and a load balancer are needed for this solution without counting in the storage servers. 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 -- 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
Re: [Red5] Any updates on serverStream yet
Lenny, I saw that this issue is a new feature request and not a bug for ServerStream. Can you add more details of the issue as comment or create a new ticket for ServerStream? Thanks. On 7/21/07, Lenny Sorey [EMAIL PROTECTED] wrote: Steven, There is an example of ServerStream already in the Demo Area in JIRA waiting to be approved. This is the same one I was talking to Dan about yesterday. The Java and Flex sources are all there. Should I also opened a ticket for this? The audio continues to stutter and the video will hesitate at time and get out of sync with the audio. This was observed with the video trailer examples that come with RED5. http://jira.red5.org/browse/DEMOS-7 Regards, Lenny On 7/20/07, Steven Gong [EMAIL PROTECTED] wrote: Dan, If you still got problem with the ServerStream, please open a ticket on JIRA, add enough information on how to reproduce it and assign it to me. Thanks. On 7/21/07, Dan Rossi [EMAIL PROTECTED] wrote: 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.javafile: 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
Re: [Red5] Any updates on serverStream yet
@osflash.org mailto:Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- C is forever. ___ 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 ___ Red5 mailing list 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
Re: [Red5] Unique Client IDs PROBLEM
Could you please tell me the revision number that works? On 7/19/07, nomIad [EMAIL PROTECTED] wrote: Yes, it was OK before. Ive checked some source code, but ive nothing found. An InstanceAlreadyExists Exception raises when there are 2 MBeans are created with the SAME ID. mfg nomIad Steven Gong schrieb: Was it ok before? On 7/19/07, nomIad [EMAIL PROTECTED] wrote: Hi guys, Have probs with the latest Trunk. The the pervios productive trunk was before Ivy implementation. K now im not sure but it can be the problem. My application use a custom client registry. If a client connects with a parameter i set his NAME as the CLIENT ID in the client registry. If a client with the same name and authentication connects the SAME client is returned. 2 month it was no problem. BUT since the jmx intrudution the JMX throws an error that the instance of a connection already exists. K i ignored that because it worked. BUT NOW strange things happens. Messages from Shared objects are pumped on the same client but different OBJECTS, different Scopes. Is it maybe because an user can have more than one connection to a scope? Structure: connection to chat connection to chat/room1 connection to chat/roomx for each connection a seperate Netconnection BUT finally grouped on the server to ONE Client Object. COULD this be a problem, was there something changed? mfg nomIad ___ Red5 mailing list 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 [EMAIL PROTECTED]://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list 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
Re: [Red5] Unique Client IDs PROBLEM
Was it ok before? On 7/19/07, nomIad [EMAIL PROTECTED] wrote: Hi guys, Have probs with the latest Trunk. The the pervios productive trunk was before Ivy implementation. K now im not sure but it can be the problem. My application use a custom client registry. If a client connects with a parameter i set his NAME as the CLIENT ID in the client registry. If a client with the same name and authentication connects the SAME client is returned. 2 month it was no problem. BUT since the jmx intrudution the JMX throws an error that the instance of a connection already exists. K i ignored that because it worked. BUT NOW strange things happens. Messages from Shared objects are pumped on the same client but different OBJECTS, different Scopes. Is it maybe because an user can have more than one connection to a scope? Structure: connection to chat connection to chat/room1 connection to chat/roomx for each connection a seperate Netconnection BUT finally grouped on the server to ONE Client Object. COULD this be a problem, was there something changed? mfg nomIad ___ Red5 mailing list 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
Re: [Red5] BWControlService
Dan, No, it's not a bw restriction configuration. If you want to restrict the bandwidth, you need to put a bandwidth configuration on the IConnection object. You might be interested taking a look at http://jira.red5.org/confluence/display/streaming/Bandwidth+Control+Framework On 7/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Does anyone know if this section in red5-common.xml is currently used? Is it a server wide bandwidth restriction if so? bean id=BWControlService class=org.red5.server.stream.SimpleBWControlService init- method=init property name=interval value=100/ property name=defaultCapacity value=104857600/ !-- 100MB -- /bean Thanks! --Dan-- ___ Red5 mailing list 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
Re: [Red5] how to publish a swf to another remote client?
A side note: The whole weekee platform is built from Red5. I believe I have introduced the site to several Red5 core developers before. On 7/9/07, Beach Lee [EMAIL PROTECTED] wrote: Hi maliqun, I have joined the development of the virtual classroom just like what you mentioned. If you have time, you could visit the url as follows to check whether it meet your requirements and contact me freely: Demo one (PPT+Audio): http://www.weekee.tv/necplayer2.swf?act=d5c0ac76-4434-42c4-b640-7d5547fdc06d Demo two (PPT+Audio+Video+Action): http://www.weekee.tv/necplayer2.swf?act=34d3a5d3-7888-4102-ad81-c36f70321ca7 Hope it is helpful for you. :) On 7/9/07, maliqun.china [EMAIL PROTECTED] wrote: hi,everyone, I have used the red5 for some time. I think it's a great work for all the video crasyor. now, I met a problem in my work. please help me if you can. I want to make a remote classroom by flash.I want to publish a powerpoint or swf to everyone . but I don't know how to do it. thanks. -- maliqun.china 2007-07-09 ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- All the best, Beach --~--~-~--~~~---~--~~ 收到此信息是由于 了 Google weekee 。 要在此 帖, 子 件到 [EMAIL PROTECTED] 要退 此 , 件至 [EMAIL PROTECTED] 更多 , 通 http://groups.google.com/group/weekee?hl=zh-CN -~--~~~~--~~--~--~--- -- 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
Re: [Red5] Red5 + Terracotta
On 6/29/07, Dan Rossi [EMAIL PROTECTED] wrote: Forgot to mention the last setup would require 6 machines not 3 correct ? Actually, if you count the load-balancer as a machine. Then you need: one machine for load-balancer. one machine for TC managing Edges. (TC1) one machine for TC managing Origins. (TC2) 1+ machine for Edges. 1+ machines for Origins. So 5+ machines. You can also use a single machine for load-balancer, TC1 and TC2. :-) Dan Rossi wrote: Hi thanks luckily I have Neo Office. The last two may fit our scenario , each machine is doing about 10K hits a day just for the flash. The machines are not dedicated, so are also running Windows Media, IIS for Windows Media DRM downloads and IIS for DRM License Request scripts which select / insert key data into a local mysql database so its a bit busy indeed. I think its affecting connections to the windows media http streaming port on 83 as the monitor is picking them up as down for some reason. They all load content over a shared drive on the local gigabit network to a machine with a Dell SAS rack connected to it :). Steven Gong wrote: Dan, On 6/29/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Steven Gong wrote: Orion, On 6/29/07, *Orion Letizi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I spent a little time last night getting the Scope tree clustered with Terracotta... still working on it today. Let you all know how it goes. Great to hear from you about the progress. I'm working on the Edge/Origin solutions (detailed architectural design) these days. Currently the solution doesn't take into account the clustering of Origin but I think it's easy to add this clustering into the design. Isnt that what the edge system is ? A clustered set of servers with an application in one located can cache the content from another origin location with an application correct ? I would call that clustering, ive never looked at it personally, its a 60K setup isnt it ? You might be interested in this foil: http://svn1.cvsdude.com/osflash/red5/doc/trunk/Some%20Design%20Idea%20of%20Red5%20Clustering.ppt --Orion ___ Red5 mailing list Red5@osflash.org mailto:Red5@osflash.org mailto: Red5@osflash.org mailto: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 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 -- 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 ___ Red5 mailing list 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
Re: [Red5] Red5 + Terracotta
On 6/29/07, Dan Rossi [EMAIL PROTECTED] wrote: We have a shared hardware switch based load balancer, and 3 machines behind that and one machine for the content. How would this work with terracotta. Or will we need more machines etc. IIUC the terracotta server could run on any machines, even on one of the clustering nodes. Steven Gong wrote: On 6/29/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Forgot to mention the last setup would require 6 machines not 3 correct ? Actually, if you count the load-balancer as a machine. Then you need: one machine for load-balancer. one machine for TC managing Edges. (TC1) one machine for TC managing Origins. (TC2) 1+ machine for Edges. 1+ machines for Origins. So 5+ machines. You can also use a single machine for load-balancer, TC1 and TC2. :-) Dan Rossi wrote: Hi thanks luckily I have Neo Office. The last two may fit our scenario , each machine is doing about 10K hits a day just for the flash. The machines are not dedicated, so are also running Windows Media, IIS for Windows Media DRM downloads and IIS for DRM License Request scripts which select / insert key data into a local mysql database so its a bit busy indeed. I think its affecting connections to the windows media http streaming port on 83 as the monitor is picking them up as down for some reason. They all load content over a shared drive on the local gigabit network to a machine with a Dell SAS rack connected to it :). Steven Gong wrote: Dan, On 6/29/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Steven Gong wrote: Orion, On 6/29/07, *Orion Letizi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I spent a little time last night getting the Scope tree clustered with Terracotta... still working on it today. Let you all know how it goes. Great to hear from you about the progress. I'm working on the Edge/Origin solutions (detailed architectural design) these days. Currently the solution doesn't take into account the clustering of Origin but I think it's easy to add this clustering into the design. Isnt that what the edge system is ? A clustered set of servers with an application in one located can cache the content from another origin location with an application correct ? I would call that clustering, ive never looked at it personally, its a 60K setup isnt it ? You might be interested in this foil: http://svn1.cvsdude.com/osflash/red5/doc/trunk/Some%20Design%20Idea%20of%20Red5%20Clustering.ppt http://svn1.cvsdude.com/osflash/red5/doc/trunk/Some%20Design%20Idea%20of%20Red5%20Clustering.ppt --Orion ___ Red5 mailing list Red5@osflash.org mailto:Red5@osflash.org mailto:Red5@osflash.org mailto:Red5@osflash.org mailto: Red5@osflash.org mailto:Red5@osflash.org mailto: Red5@osflash.org mailto: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 mailto:Red5@osflash.org mailto: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 mailto:Red5@osflash.org mailto:Red5@osflash.org http://osflash.org/mailman/listinfo/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
Re: [Red5] Red5 + Terracotta
Orion, Just read your blog. Can you tell me a bit more detail about your idea on creating a parallel data structure? On 6/30/07, Orion Letizi [EMAIL PROTECTED] wrote: I threw together a blog entry with neat pictures of the Red5 scope tree clustered inside Terracotta: http://orionl.blogspot.com/2007/06/clustering-red5.html As I mention in the blog entry, Tim and I are trying a slightly different approach. I'll let you all know how it goes. --Orion ___ Red5 mailing list 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
Re: [Red5] Red5 + Terracotta
Michael, The test is to make sure the RSO can be served on more than one server so that in a large scale application like online gaming, the server capacity can be scaled out when you add more machines. On 6/30/07, Michael Chan [EMAIL PROTECTED] wrote: Orion, Can you please tell me what is the purpose of your test, and what kind of application that the Ball control will apply to. MC On Sat, 2007-30-06 at 02:30 +, Orion Letizi wrote: We got it working about an hour ago. We got the ball control demo to work so that two flash clients connected to two different red5 servers work together as if they were connected to the same red5 server. It's pretty hot. I'll post instructions on how to do it soon. Cheers, --Orion Sent from my handheld -Original Message- From: Steven Gong [EMAIL PROTECTED] Date: Sat, 30 Jun 2007 09:20:15 To:Red5@osflash.org Subject: Re: [Red5] Red5 + Terracotta Orion, Just read your blog. Can you tell me a bit more detail about your idea on creating a parallel data structure? On 6/30/07, Orion Letizi ___ 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 -- 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
Re: [Red5] Red5 + Terracotta
Orion, On 6/29/07, Orion Letizi [EMAIL PROTECTED] wrote: I spent a little time last night getting the Scope tree clustered with Terracotta... still working on it today. Let you all know how it goes. Great to hear from you about the progress. I'm working on the Edge/Origin solutions (detailed architectural design) these days. Currently the solution doesn't take into account the clustering of Origin but I think it's easy to add this clustering into the design. It would be great if we can share the progress and have a cowork. --Orion ___ Red5 mailing list 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
Re: [Red5] Red5 + Terracotta
On 6/29/07, Orion Letizi [EMAIL PROTECTED] wrote: Today, I got as far as getting the scope tree shared in Terracotta. There's still more to do to get a second Red5 instance to come up (it's mostly just solving some initialization issues). Tim Eck and I will probably hack on it together some more tomorrow. Assuming it works tomorrow, I'll post the Terracotta configuration and instructions on how to get it running. That's incredible! Steven, is there anything we can do to help your effort? In any case, maybe we can have another conference call in the next few days to chat about our progress and what still needs to be done. Another conference call is fine with me. Whenever it's ok, we can work out a time suitable for all of us. :-) Cheers, Orion Steven Gong wrote: Orion, On 6/29/07, Orion Letizi [EMAIL PROTECTED] wrote: I spent a little time last night getting the Scope tree clustered with Terracotta... still working on it today. Let you all know how it goes. Great to hear from you about the progress. I'm working on the Edge/Origin solutions (detailed architectural design) these days. Currently the solution doesn't take into account the clustering of Origin but I think it's easy to add this clustering into the design. It would be great if we can share the progress and have a cowork. --Orion ___ Red5 mailing list 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 -- View this message in context: http://www.nabble.com/Red5-%2B-Terracotta-tf3995993.html#a11354707 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 -- 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
Re: [Red5] Red5 + Terracotta
Dan, On 6/29/07, Dan Rossi [EMAIL PROTECTED] wrote: Steven Gong wrote: Orion, On 6/29/07, *Orion Letizi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I spent a little time last night getting the Scope tree clustered with Terracotta... still working on it today. Let you all know how it goes. Great to hear from you about the progress. I'm working on the Edge/Origin solutions (detailed architectural design) these days. Currently the solution doesn't take into account the clustering of Origin but I think it's easy to add this clustering into the design. Isnt that what the edge system is ? A clustered set of servers with an application in one located can cache the content from another origin location with an application correct ? I would call that clustering, ive never looked at it personally, its a 60K setup isnt it ? You might be interested in this foil: http://svn1.cvsdude.com/osflash/red5/doc/trunk/Some%20Design%20Idea%20of%20Red5%20Clustering.ppt --Orion ___ Red5 mailing list Red5@osflash.org mailto: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 -- 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
Re: [Red5] Ivy 1.4.1 Implemented
Cool! Thanks for the work Paul. :-) On 6/28/07, Mondain [EMAIL PROTECTED] wrote: All, I have implemented Ivy for dependency handling http://incubator.apache.org/ivy/ To build with eclipse you will need the IvyDE plugin http://www.jaya.free.fr/ivyde/download.html Building with ant requires nothing special, it just takes a bit longer while it resolves dependencies. I have tested the setup with Java 6 so if you have any issues let me know here or via Jira (i prefer Jira for tracking). Paul -- 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 -- 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
Re: [Red5] Apache / Tomcat setup for rtmp and rtmpt
know if you are successful with this configuration. 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 -- 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
Re: [Red5] Load balancing for live streams
Martijn, On 6/19/07, Martijn van Beek [EMAIL PROTECTED] wrote: To everybody who has network issues with the link I posted. Please give me details like: browser, flash player version, firewalls, etc. Network failures aren't logged if you can't reach the server. Mark, the problem is the I/O that's why I'm posting this. But I'm glad that FMS has the same problem ;). I guess that you are referring to FMS without clustering. The Edge/Origin solution of FMS provides a cache system on Edge so that the VOD can be directly distributed to clients on Edge, thus alleviate the load from Storage server accessed by Origin. The only solution I can think about is the creation of a system which divides the load over multiple disks/systems. Expensive but effective. On 6/19/07, Mark de Jong [NetMasters BV] [EMAIL PROTECTED] wrote: Hi Martijn, Be sure to check out the I/O of the server. We've had the same issues on a edge-server (yes, edge/origin) from a client from us and I/O was the bottleneck for this. They have a lot of seeking (and hundreds of files) and it was VERY I/O intensive. I don't now how Red5 handles this but it is worth checking this out first before going on to next steps. Kind regards, Mark de Jong Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Martijn van Beek Verzonden: maandag 18 juni 2007 10:32 Aan: Red5@osflash.org Onderwerp: Re: [Red5] Load balancing for live streams I'm not streaming live data but stored flv movies. And the problem then appears when a lot of people access the file at the same time but all at a different position (in time). On 6/17/07, Steven Gong [EMAIL PROTECTED] wrote: Orion, On 6/17/07, Orion Letizi [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: While it may be impractical to cluster the actual AV data in the stream, perhaps the current state (metadata) of the stream could be clustered so that, as long as the AV data was available on disk at each server, any server could pick up the stream and start serving it based on the metadata about the stream (e.g., offset into the data file, current position of buffers, stuff like that). Yep, that's true if the VOD streaming is pulled by the client. But as we also need to track the client buffer, we are using a scheduled task to push the VOD content to the client. I was thinking of sharing the connection buffer across the cluster if the connection is of type RTMPTConnection. When the connection is of type RTMPT, we use a buffer for each connection to save the packets that will be sent to the client. These packets includes AV packets, RSO packets, invocation result etc. When the client's request is distributed to one of the node, the server retrieves packets in the buffer and sends to the client. So all kinds of services, regardless of VOD, Live or RSO, can be shared without the need to share the whole connection or stream objects. What do you think? Of course, I share Steve Harris's lack of knowledge of the internals of Red5, so my observation might be dumb, nonsensical, or both for which I apologize in advance. Steve, On 6/16/07, sharrissf [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: Assuming the stream fits in memory and just has multiple people accessing it I suspect it could be clustered with Terracotta. Though I would need to know more details to know for sure as I'm not that familiar with how they work and are implemented. My thinking is that everyone in this case is essentially sharing the same stream so really only one instance ends up in each jvm and all the meta-data associated with each user is only in the jvm where the person is connected. The live stream is pushed to the subscribers just like what Remote SharedObject does so if configured properly I believe it can be clustered by TC. But I doubt that this is practically realistic because (1) The amount of AV data is much bigger than that of RSO. So much more data will be transfered across the nodes. (2) When the amount of data arises, the transfer latency will also arise and the real time requirement of live streaming is compromised. Anyway we can implement it technically and whether it's practical will be decided by the application. -- View this message in context: http
Re: [Red5] Load balancing for live streams
On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: I'm not streaming live data but stored flv movies. And the problem then appears when a lot of people access the file at the same time but all at a different position (in time). That IS a problem which might be solved by a cache system. FMS uses cache on Edge servers. Martijn, could you please give more data about this issue? How many concurrent accesses will become a bottleneck for the I/O reading of FLV? On 6/17/07, Steven Gong [EMAIL PROTECTED] wrote: Orion, On 6/17/07, Orion Letizi [EMAIL PROTECTED] wrote: While it may be impractical to cluster the actual AV data in the stream, perhaps the current state (metadata) of the stream could be clustered so that, as long as the AV data was available on disk at each server, any server could pick up the stream and start serving it based on the metadata about the stream (e.g., offset into the data file, current position of buffers, stuff like that). Yep, that's true if the VOD streaming is pulled by the client. But as we also need to track the client buffer, we are using a scheduled task to push the VOD content to the client. I was thinking of sharing the connection buffer across the cluster if the connection is of type RTMPTConnection. When the connection is of type RTMPT, we use a buffer for each connection to save the packets that will be sent to the client. These packets includes AV packets, RSO packets, invocation result etc. When the client's request is distributed to one of the node, the server retrieves packets in the buffer and sends to the client. So all kinds of services, regardless of VOD, Live or RSO, can be shared without the need to share the whole connection or stream objects. What do you think? Of course, I share Steve Harris's lack of knowledge of the internals of Red5, so my observation might be dumb, nonsensical, or both for which I apologize in advance. Steve, On 6/16/07, sharrissf [EMAIL PROTECTED] wrote: Assuming the stream fits in memory and just has multiple people accessing it I suspect it could be clustered with Terracotta. Though I would need to know more details to know for sure as I'm not that familiar with how they work and are implemented. My thinking is that everyone in this case is essentially sharing the same stream so really only one instance ends up in each jvm and all the meta-data associated with each user is only in the jvm where the person is connected. The live stream is pushed to the subscribers just like what Remote SharedObject does so if configured properly I believe it can be clustered by TC. But I doubt that this is practically realistic because (1) The amount of AV data is much bigger than that of RSO. So much more data will be transfered across the nodes. (2) When the amount of data arises, the transfer latency will also arise and the real time requirement of live streaming is compromised. Anyway we can implement it technically and whether it's practical will be decided by the application. -- View this message in context: http://www.nabble.com/Load-balancing-for-live-streams-tf3926799.html#a11155612 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 -- 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 -- 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
Re: [Red5] Load balancing for live streams
On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: Well that currently hard to say because the server died and didn't leave any logs (he couldn't access the filesystem). I'm almost finished with another part of the Red5 app I'm building after that I will post an url of a movie. If everyone can access that movie maybe I can see the amount of connections and post the data here. I run Red5 with ant, is there a way I can store the logs? What logs do you refer to? The server log or the log you record yourself? On 6/18/07, Steven Gong [EMAIL PROTECTED] wrote: On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: I'm not streaming live data but stored flv movies. And the problem then appears when a lot of people access the file at the same time but all at a different position (in time). That IS a problem which might be solved by a cache system. FMS uses cache on Edge servers. Martijn, could you please give more data about this issue? How many concurrent accesses will become a bottleneck for the I/O reading of FLV? On 6/17/07, Steven Gong [EMAIL PROTECTED] wrote: Orion, On 6/17/07, Orion Letizi [EMAIL PROTECTED] wrote: While it may be impractical to cluster the actual AV data in the stream, perhaps the current state (metadata) of the stream could be clustered so that, as long as the AV data was available on disk at each server, any server could pick up the stream and start serving it based on the metadata about the stream (e.g., offset into the data file, current position of buffers, stuff like that). Yep, that's true if the VOD streaming is pulled by the client. But as we also need to track the client buffer, we are using a scheduled task to push the VOD content to the client. I was thinking of sharing the connection buffer across the cluster if the connection is of type RTMPTConnection. When the connection is of type RTMPT, we use a buffer for each connection to save the packets that will be sent to the client. These packets includes AV packets, RSO packets, invocation result etc. When the client's request is distributed to one of the node, the server retrieves packets in the buffer and sends to the client. So all kinds of services, regardless of VOD, Live or RSO, can be shared without the need to share the whole connection or stream objects. What do you think? Of course, I share Steve Harris's lack of knowledge of the internals of Red5, so my observation might be dumb, nonsensical, or both for which I apologize in advance. Steve, On 6/16/07, sharrissf [EMAIL PROTECTED] wrote: Assuming the stream fits in memory and just has multiple people accessing it I suspect it could be clustered with Terracotta. Though I would need to know more details to know for sure as I'm not that familiar with how they work and are implemented. My thinking is that everyone in this case is essentially sharing the same stream so really only one instance ends up in each jvm and all the meta-data associated with each user is only in the jvm where the person is connected. The live stream is pushed to the subscribers just like what Remote SharedObject does so if configured properly I believe it can be clustered by TC. But I doubt that this is practically realistic because (1) The amount of AV data is much bigger than that of RSO. So much more data will be transfered across the nodes. (2) When the amount of data arises, the transfer latency will also arise and the real time requirement of live streaming is compromised. Anyway we can implement it technically and whether it's practical will be decided by the application. -- View this message in context: http://www.nabble.com/Load-balancing-for-live-streams-tf3926799.html#a11155612 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 -- 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 -- 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
Re: [Red5] Load balancing for live streams
On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: The output ant gives to the console. (I'm new to ant) Well, if you are not working on jar, you can modify the log4j.propertiesfile manually by changing the log4j.rootCategory=DEBUG, CONSOLE to log4j.rootCategory=DEBUG, FLOG The log file will be red5.log On 6/18/07, Steven Gong [EMAIL PROTECTED] wrote: On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: Well that currently hard to say because the server died and didn't leave any logs (he couldn't access the filesystem). I'm almost finished with another part of the Red5 app I'm building after that I will post an url of a movie. If everyone can access that movie maybe I can see the amount of connections and post the data here. I run Red5 with ant, is there a way I can store the logs? What logs do you refer to? The server log or the log you record yourself? On 6/18/07, Steven Gong [EMAIL PROTECTED] wrote: On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: I'm not streaming live data but stored flv movies. And the problem then appears when a lot of people access the file at the same time but all at a different position (in time). That IS a problem which might be solved by a cache system. FMS uses cache on Edge servers. Martijn, could you please give more data about this issue? How many concurrent accesses will become a bottleneck for the I/O reading of FLV? On 6/17/07, Steven Gong [EMAIL PROTECTED] wrote: Orion, On 6/17/07, Orion Letizi [EMAIL PROTECTED] wrote: While it may be impractical to cluster the actual AV data in the stream, perhaps the current state (metadata) of the stream could be clustered so that, as long as the AV data was available on disk at each server, any server could pick up the stream and start serving it based on the metadata about the stream (e.g., offset into the data file, current position of buffers, stuff like that). Yep, that's true if the VOD streaming is pulled by the client. But as we also need to track the client buffer, we are using a scheduled task to push the VOD content to the client. I was thinking of sharing the connection buffer across the cluster if the connection is of type RTMPTConnection. When the connection is of type RTMPT, we use a buffer for each connection to save the packets that will be sent to the client. These packets includes AV packets, RSO packets, invocation result etc. When the client's request is distributed to one of the node, the server retrieves packets in the buffer and sends to the client. So all kinds of services, regardless of VOD, Live or RSO, can be shared without the need to share the whole connection or stream objects. What do you think? Of course, I share Steve Harris's lack of knowledge of the internals of Red5, so my observation might be dumb, nonsensical, or both for which I apologize in advance. Steve, On 6/16/07, sharrissf [EMAIL PROTECTED] wrote: Assuming the stream fits in memory and just has multiple people accessing it I suspect it could be clustered with Terracotta. Though I would need to know more details to know for sure as I'm not that familiar with how they work and are implemented. My thinking is that everyone in this case is essentially sharing the same stream so really only one instance ends up in each jvm and all the meta-data associated with each user is only in the jvm where the person is connected. The live stream is pushed to the subscribers just like what Remote SharedObject does so if configured properly I believe it can be clustered by TC. But I doubt that this is practically realistic because (1) The amount of AV data is much bigger than that of RSO. So much more data will be transfered across the nodes. (2) When the amount of data arises, the transfer latency will also arise and the real time requirement of live streaming is compromised. Anyway we can implement it technically and whether it's practical will be decided by the application. -- View this message in context: http://www.nabble.com/Load-balancing-for-live-streams-tf3926799.html#a11155612 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 -- I cannot tell why this heart languishes in silence. It is for small needs it never asks, or knows
Re: [Red5] Load balancing for live streams
I got NetConnection.Connect.Failed error here. Maybe network issue? On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: For testing purposes I'm posting this URL: http://babbavideo.com/nl/player/710/repent_vj_crew_demo_video.html it's a movie I made myself Could as much as many Red5 developers access this movie? On 6/18/07, Steven Gong [EMAIL PROTECTED] wrote: On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: The output ant gives to the console. (I'm new to ant) Well, if you are not working on jar, you can modify the log4j.propertiesfile manually by changing the log4j.rootCategory=DEBUG, CONSOLE to log4j.rootCategory=DEBUG, FLOG The log file will be red5.log On 6/18/07, Steven Gong [EMAIL PROTECTED] wrote: On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: Well that currently hard to say because the server died and didn't leave any logs (he couldn't access the filesystem). I'm almost finished with another part of the Red5 app I'm building after that I will post an url of a movie. If everyone can access that movie maybe I can see the amount of connections and post the data here. I run Red5 with ant, is there a way I can store the logs? What logs do you refer to? The server log or the log you record yourself? On 6/18/07, Steven Gong [EMAIL PROTECTED] wrote: On 6/18/07, Martijn van Beek [EMAIL PROTECTED] wrote: I'm not streaming live data but stored flv movies. And the problem then appears when a lot of people access the file at the same time but all at a different position (in time). That IS a problem which might be solved by a cache system. FMS uses cache on Edge servers. Martijn, could you please give more data about this issue? How many concurrent accesses will become a bottleneck for the I/O reading of FLV? On 6/17/07, Steven Gong [EMAIL PROTECTED] wrote: Orion, On 6/17/07, Orion Letizi [EMAIL PROTECTED] wrote: While it may be impractical to cluster the actual AV data in the stream, perhaps the current state (metadata) of the stream could be clustered so that, as long as the AV data was available on disk at each server, any server could pick up the stream and start serving it based on the metadata about the stream (e.g., offset into the data file, current position of buffers, stuff like that). Yep, that's true if the VOD streaming is pulled by the client. But as we also need to track the client buffer, we are using a scheduled task to push the VOD content to the client. I was thinking of sharing the connection buffer across the cluster if the connection is of type RTMPTConnection. When the connection is of type RTMPT, we use a buffer for each connection to save the packets that will be sent to the client. These packets includes AV packets, RSO packets, invocation result etc. When the client's request is distributed to one of the node, the server retrieves packets in the buffer and sends to the client. So all kinds of services, regardless of VOD, Live or RSO, can be shared without the need to share the whole connection or stream objects. What do you think? Of course, I share Steve Harris's lack of knowledge of the internals of Red5, so my observation might be dumb, nonsensical, or both for which I apologize in advance. Steve, On 6/16/07, sharrissf [EMAIL PROTECTED] wrote: Assuming the stream fits in memory and just has multiple people accessing it I suspect it could be clustered with Terracotta. Though I would need to know more details to know for sure as I'm not that familiar with how they work and are implemented. My thinking is that everyone in this case is essentially sharing the same stream so really only one instance ends up in each jvm and all the meta-data associated with each user is only in the jvm where the person is connected. The live stream is pushed to the subscribers just like what Remote SharedObject does so if configured properly I believe it can be clustered by TC. But I doubt that this is practically realistic because (1) The amount of AV data is much bigger than that of RSO. So much more data will be transfered across the nodes. (2) When the amount of data arises, the transfer latency will also arise and the real time requirement of live streaming is compromised
Re: [Red5] Load balancing for live streams
Steve, On 6/16/07, sharrissf [EMAIL PROTECTED] wrote: Assuming the stream fits in memory and just has multiple people accessing it I suspect it could be clustered with Terracotta. Though I would need to know more details to know for sure as I'm not that familiar with how they work and are implemented. My thinking is that everyone in this case is essentially sharing the same stream so really only one instance ends up in each jvm and all the meta-data associated with each user is only in the jvm where the person is connected. The live stream is pushed to the subscribers just like what Remote SharedObject does so if configured properly I believe it can be clustered by TC. But I doubt that this is practically realistic because (1) The amount of AV data is much bigger than that of RSO. So much more data will be transfered across the nodes. (2) When the amount of data arises, the transfer latency will also arise and the real time requirement of live streaming is compromised. Anyway we can implement it technically and whether it's practical will be decided by the application. Timon Reinhard wrote: Hi Mark, fair enough, you have Wowza benchmarks. ;) I don't know how Red5 handles this but it is worth trying to do it on a different way then writing it as a file? Quite sure Red5 doesn't handle live streams as files. I guess this got somehow mixed up with VOD in this thread. The problem distributing live streams is less the cpu/memory load than the available network bandwidth. I'm curious if that could be solved using Terracotta... Mark de Jong [NetMasters BV] schrieb: Hi Martijn, Timon and Dan, Why should it be I/O intensive? Are you writing a live stream to the HDD in order to stream this? We have been testing around with Wowza Media Server a lot (and have done a live pilot with it). We had about 600 simultanious streams at 350Kbps and we used about 12,5% of the resources of the server we used (we have been testing around with different types of hardware with Wowza and have recieved very good results with it). AFAIK know Wowza did it by using memory instead of writing it as a file and also has a way to duplicate live streams to other servers. I don't know how Red5 handles this but it is worth trying to do it on a different way then writing it as a file? PS: I'm not a technician I'm just a salesperson that loves tech :) Kind regards, Mark de Jong NetMasters/FlashHosting www.flashhosting.nl Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Martijn van Beek Verzonden: vrijdag 15 juni 2007 14:32 Aan: Red5@osflash.org Onderwerp: Re: [Red5] Load balancing for live streams I'm currently experimenting with ssh mounts in Linux. I can read out the directory of the other server within Red5 but it fails to load the flv somehow. I noticed that Red5 handles everything very well but when a lot of people want to access the same stream at the same time the I/O is killing my server (Dual Duo Core Xeon with 4 GB RAM). Could Terracotta handle this? On 6/15/07, Dan Rossi [EMAIL PROTECTED] wrote: I think there has been talk of implementing terracotta which may make this possible. We publish to one server currently. Timon Reinhard wrote: Hi! Is there any way to distribute a live videostream using two or more machines running red5? Thanks. ___ 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 -- View this message in context: http://www.nabble.com/Load-balancing-for-live-streams-tf3926799.html#a11146598 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 -- 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
Re: [Red5] Red5 and EnhancedSeek feature
No, Red5 doesn't support this because we don't have embedded video codecs. On 6/13/07, Igor Sadovskiy [EMAIL PROTECTED] wrote: Hello all! Does anybody know if current Red5 version supports EnhancedSeek feature (like in FMS2) Regards, Igor EnhancedSeek This tag enables or disables fine tuning the seeking performance within streams by creating a keyframe. Description Keyframes improve the visual display of FLV files while seeking. When this tag is set to true, the server inserts keyframes at the point in the stream where the seek begins if there is no preexisting keyframe present. ___ Red5 mailing list 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
Re: [Red5] Random sporadic client disconnects
Thomas, On 6/8/07, Thomas Auge [EMAIL PROTECTED] wrote: How does the ping used by ping interval work? Is that an ICMP ping? UDP? Does it drop the connection if one ping fails? Because that would explain the problem: ICMP and UDP packets can get lost on the way, but one failed ping does not necessarily warrant a disconnect. No, it's not ICMP ping but a ping in RTMP packet which is sent via TCP and will not get lost. I found the inactivity timeout, too, but that is high enough to be irrelevant to the problem. Thomas Auge wrote: Hi all, I run a webcam chat application on red5. Sporadically users are disconnected from the red5 server. This seems to be related to latency. For example, a modem user publishing his webcam stream is guaranteed to be dropped a few seconds later. Or anyone with a heavy load (= high latency, probably some packet loss) on his connection will be dropped rather sooner than later. Randomly this happens to almost everyone, but packets do get lost all the time and latency can fluctuate everywhere, so that also makes sense too. Is there a configurable connection timeout? If not, what is the hardcoded timeout? Thanks, Thomas ___ 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 -- 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
Re: [Red5] Integrating terracotta with red5 call...
Steve, Glad to receive your mail. I would like to be in contact with you by phone but I am located in China so maybe Skype can come to help. On 6/9/07, sharrissf [EMAIL PROTECTED] wrote: I want to set up a con call with anyone who might be interested in working to integrate terracotta with Red5 to see how we can help. I would propose Monday at 1:00pm California time. Anyone interested can e-mail me at steve at terracottatech. I'll respond with the call in number etc. Cheers, Steve -- View this message in context: http://www.nabble.com/Integrating-terracotta-with-red5-call...-tf3892008.html#a11033563 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 -- 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
Re: [Red5] Synchronizing multi video and audio streams
The synchronization of these streams can be accomplished on client side. On 6/5/07, Evgeniy Strokin [EMAIL PROTECTED] wrote: Hello, Is it possible to synchronize multiple video and audio streams? Here is example from real life: We have two cameras which provide two video streams, one is a big picture and another is a general picture. Also, there are three audio sources: original sound and two simultaneous translations to two other languages. We need broadcast life and it's possible what users will choose all 5 streams to be available for them at the same time. Also, We need to store all this in to archive and in future the users should be able to have access to all 5 streams. Obviously, it's very important that all of them should be synchronized. Is this possible at all using Red5? Thank you Gene ___ Red5 mailing list 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
Re: [Red5] Synchronizing multi video and audio streams
On 6/6/07, Steven Gong [EMAIL PROTECTED] wrote: The synchronization of these streams can be accomplished on client side. You can simply start several streams at the same time by NetStream.play(). On 6/5/07, Evgeniy Strokin [EMAIL PROTECTED] wrote: Hello, Is it possible to synchronize multiple video and audio streams? Here is example from real life: We have two cameras which provide two video streams, one is a big picture and another is a general picture. Also, there are three audio sources: original sound and two simultaneous translations to two other languages. We need broadcast life and it's possible what users will choose all 5 streams to be available for them at the same time. Also, We need to store all this in to archive and in future the users should be able to have access to all 5 streams. Obviously, it's very important that all of them should be synchronized. Is this possible at all using Red5? Thank you Gene ___ Red5 mailing list 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 -- 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
Re: [Red5] how does the bandwidth configure work ?
Dan, The bandwidth configuration is designed to use a tree hierarchical structure to manage bandwidth. This model is intended to restrict the child node so that the bandwidth consumed by the child nodes will not exceed the total configuration of the parent node. For example, the stream object is the child of connection object. The bandwidth consumed by stream object can't exceed the bw configured for connection. Take a look at the interface: org.red5.server.api.IBWControllable. Each bandwidth controllable has a parent. The hierarchy designed on trunk is just for Connection (1) -- Stream (*). It's interesting to make SubScope as a parent to Connection. That will solve the problem you mentioned below. As of now, the Scope class does not implement IBWControllable but it's not hard to do so. (Just follow the way RTMPConnection does it) After making Scope bandwidth controllable, you can change the RTMPConnection.getParentBWControllable() method (to override the class might be a better choice though) to return the scope the connection belongs to. (The default implementation return null, which means the bandwidth limit from parent is unlimited.) You might also want to make the whole Scope hierarchy as the same tree hierarchy as IBWControllable. You can simply return the parent scope in Scope.getParentBWControllable() to accomplish this goal. One thing you should notice is that the bandwidth control framework design in Red5 server is very flexible and it might not be suitable to define strictly one unique model to fit all needs (one might want a client-based bandwidth configuration: Client(1) -- Connection(*) -- Stream(*).). It'll be better to get more user inputs to nail down a suitable solution. On 5/28/07, Dan Rossi [EMAIL PROTECTED] wrote: Hi i was wondering how the bandwidth configurer is suppose to work, ie is it application wide or per connection ? public void setOverallBandwidth(long value) { getChannelBandwidth()[IBandwidthConfigure.OVERALL_CHANNEL] = value * 1024; } public void setInitialBandwidth(long value) { getChannelInitialBurst()[IBandwidthConfigure.OVERALL_CHANNEL] = value * 1024; } I have these but im not sure if they affect just the connection or the entire app. Im trying to set these on a per subscope basis. So connections so one sub scope is shaped different to another subscope. And for instance if the bandwidth does get shaped on the particular sub scope it will either stop further connections or just simply shape the streams. Let me know having to work out how to setup some config which gets loaded into a hashmap on app startup which can be called on room connections. Our current setup has bandwidth limits of 7MB per sub scope on a windows media server. ___ Red5 mailing list 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
Re: [Red5] how does the bandwidth configure work ?
-1 means no bandwidth limit. On 5/28/07, Dan Rossi [EMAIL PROTECTED] wrote: It seems these also return -1 when a stream closes. public long getOverallBandwidth() { return getChannelBandwidth()[IBandwidthConfigure.OVERALL_CHANNEL]; } public long getInitialBandwidth() { return getChannelInitialBurst()[IBandwidthConfigure.OVERALL_CHANNEL]; } Dan Rossi wrote: Hi i was wondering how the bandwidth configurer is suppose to work, ie is it application wide or per connection ? public void setOverallBandwidth(long value) { getChannelBandwidth()[IBandwidthConfigure.OVERALL_CHANNEL] = value * 1024; } public void setInitialBandwidth(long value) { getChannelInitialBurst()[IBandwidthConfigure.OVERALL_CHANNEL] = value * 1024; } I have these but im not sure if they affect just the connection or the entire app. Im trying to set these on a per subscope basis. So connections so one sub scope is shaped different to another subscope. And for instance if the bandwidth does get shaped on the particular sub scope it will either stop further connections or just simply shape the streams. Let me know having to work out how to setup some config which gets loaded into a hashmap on app startup which can be called on room connections. Our current setup has bandwidth limits of 7MB per sub scope on a windows media server. ___ 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 -- 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
Re: [Red5] Wowza Media Server Pro 1.1.1
Donnacha, I really appreciate the information about Wowza. Thanks indeed. :-) On 5/26/07, Donnacha [EMAIL PROTECTED] wrote: If your product is as poorly put together as this type of spam advertising I cant see it being around for long. Graham, your comment is not only insulting but also reveals your laziness and lack of familiarity with this list. Before accusing someone of being a spammer you should, perhaps, do a quick search to see what previous discussions they have been involved in and how long they have been around. As someone whose has been posting to this list since '05, I find it interesting that you seem to have appeared out of nowhere in March this year with a post angrily whining about the lack of help you were receiving. When both Dominick and Daniel called your bluff, pointing out that you had not, in fact, made any previous post requesting such help, either to this list or even the shocksites forum, you rapidly changed tack, pretended to be someone else using the same email address, and decided it was more effective to beg for help rather than stamp your feet. Then, even after Dominick's patient and extensive help, you still weren't able to get your installation running properly, surely not such a difficult task for a man so quick to attack others? You see: I found all that about you just by pressing the search button, may I suggest you do the same in future before accusing anyone else here of being a spammer And, incidentally, Wowza has been discussed here before and is of some interest to us because it is the only other Java-based Flash media server currently being developed. As such, a new release is noteworthy, I posted the salient details to save others the effort of visiting their site. Perhaps you, too, could contribute something useful one day. Donnacha On 5/25/07, graham [EMAIL PROTECTED] wrote: If your product is as poorly put together as this type of spam advertising I cant see it being around for long. Donnacha wrote: It's worth keeping an eye on what's happening with the other Java-based Flash media server, Wowza. They have just released their 1.1 version: http://www.wowzamedia.com/support.html ... and are claiming the following improvements (over the previous version): * Better overall performance * Significantly improved video chat * Support for SHOUTcast re-streaming * API for user defined media writer * Enhanced scalability for video applications * Expanded choice of media stream types Propriety product, free version limited to 10 connections, licenses above range from $750 - $5000, so, obviously, our fingers are crossed that Red5 will be able to match it's performance. Donnacha ___ 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 -- 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
Re: [Red5] Wowza Media Server Pro 1.1.1
Abhishek, I think you can try to change the existing demo applications (eg. oflaDemo) firstly to make your hand wet. On 5/26/07, Ashu Gupta [EMAIL PROTECTED] wrote: Require help Sir, I am now up to screwing my 5th day to know why my application( a simple text chat ) is showing an error Netconnection.connect.invalidapp on trying to run it. I am using red5 server for back end, it is fully configured on my system and samples r running fine. I don't know why this error is creeping in as I also tried to put my code behind red5/webapp/WEB-INF/code of my application. This might seem funny, but I am a real newbie to red5 and now am anticipating help really. Thanking You Abhishek ___ Red5 mailing list 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
Re: [Red5] [Red5devs] What about a marriage with Granite Data Services
/listinfo/red5_osflash.org -- Luke Hubbard codegent | coding for the people http://www.codegent.com NMA Top 100 Interactive Agencies - Ones to watch! http://www.codegent.com/top100/ want to know more? http://www.codegent.com/showreel/ This e-mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this e-mail, or any part of it, please delete this email and any attachments immediately on receipt. You should not disclose the contents to any other person or take copies. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of codegent limited. ___ 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 http://osflash.org/mailman/listinfo/red5_osflash.org -- Luke Hubbard codegent | coding for the people http://www.codegent.com NMA Top 100 Interactive Agencies - Ones to watch! http://www.codegent.com/top100/ want to know more? http://www.codegent.com/showreel/ This e-mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this e-mail, or any part of it, please delete this email and any attachments immediately on receipt. You should not disclose the contents to any other person or take copies. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of codegent limited. ___ 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 -- Luke Hubbard codegent | coding for the people http://www.codegent.com NMA Top 100 Interactive Agencies - Ones to watch! http://www.codegent.com/top100/ want to know more? http://www.codegent.com/showreel/ This e-mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this e-mail, or any part of it, please delete this email and any attachments immediately on receipt. You should not disclose the contents to any other person or take copies. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of codegent limited. ___ Red5devs mailing list [EMAIL PROTECTED] http://osflash.org/mailman/listinfo/red5devs_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
Re: [Red5] What about a marriage with Granite Data Services
Dan, I am working on the integration recently based on Standalone with the help of the experts from TC team. It's in progress and if you are interested, keep an eye on the clustering branch on SVN. On 5/25/07, Dan Rossi [EMAIL PROTECTED] wrote: How is that going btw, does it look like an easy one. Will it only work if its a war in tomcat ? I Think I remember hearing lenny having a go at integration a while back. Mondain wrote: I think we're dating Terracotta at the moment.. ;) On 5/24/07, *Sebastian Mohr* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: see this Link: http://www.graniteds.org/confluence/display/INTRO/Granite+Data+Services+Overview http://www.graniteds.org/confluence/display/INTRO/Granite+Data+Services+Overview I heard that Franck is hanging around with you guys!? Cheers, masu ___ 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 -- 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
Re: [Red5] What about a marriage with Granite Data Services
Steve, On 5/26/07, sharrissf [EMAIL PROTECTED] wrote: Not sure where it is at but we are trying to set up a call with interested parties over the next week or so. Glad to talk with you guys. I hope that I can make most of the things done locally and leave some very hard unsolved problems for you. ;-) Nothing about terracotta would require one to use tomcat. Works fine on standalone apps and in containers. Exactly. My plan is to make the standalone version clusterable first and I think the tc-config.xml can be shared by WAR version. Dan Rossi-5 wrote: How is that going btw, does it look like an easy one. Will it only work if its a war in tomcat ? I Think I remember hearing lenny having a go at integration a while back. Mondain wrote: I think we're dating Terracotta at the moment.. ;) On 5/24/07, *Sebastian Mohr* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: see this Link: http://www.graniteds.org/confluence/display/INTRO/Granite+Data+Services+Overview http://www.graniteds.org/confluence/display/INTRO/Granite+Data+Services+Overview I heard that Franck is hanging around with you guys!? Cheers, masu ___ 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 -- View this message in context: http://www.nabble.com/What-about-a-marriage-with-%22Granite-Data-Services%22-tf3811167.html#a10809218 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 -- 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
Re: [Red5] What about a marriage with Granite Data Services
Sebastian, I think Joachim only referenced the information from what Jason King mentioned: ** quote ** Please, get out the shotgun. Based on Spring. Concerned about RemoteObjects and AMF3. GPL implementation of remoting/fds/lds. Sounds like there's a big overlap to me. ** end of quote ** AFAIK GDS only supports remoting gateway (AMF3) which is only a very small subset of Red5. Not a very big overlap. On 5/25/07, Sebastian Mohr [EMAIL PROTECTED] wrote: @Joachim Granite Data Services runs under LGPL, see: http://graniteds.riaforge.org/ There is no GPL-licence agreement for GDS! What do you mean??? masu http://graniteds.riaforge.org/On 5/25/07, Joachim Bauch [EMAIL PROTECTED] wrote: Jason King schrieb: Please, get out the shotgun. Based on Spring. Concerned about RemoteObjects and AMF3. GPL implementation of remoting/fds/lds. Sounds like there's a big overlap to me. one thing that doesn't overlap are the licenses. Red5 uses LGPL, so we can't add GPL code easily. Joachim ___ 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 -- 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
Re: [Red5] Get Stream FLV via HTTP/WebDAV, not file system
Matteo, You can replace FileProvide with, say, CmsProvider which will pull content from CMS rather than a normal file system. The CMS (via JCR API) provides InputStream to retrieve content from. On 5/21/07, Matteo Serritiello [EMAIL PROTECTED] wrote: At 10.00 21/05/2007, you wrote: Thanks Dan, I have seen Spring ResourceLoader and it says that any context accept URL from various places but getVODProviderFile method from Provider Service class demand File type while I believe that WebDAV return InputStream... Then I have changed ProvideService to fix this, but from InputStream to File I must OuputStream this and temporarily write File on server file system to streaming it... I'd want to use only InputStream to avoid this 'bottleneck' (write file on server file system) but I see that only ApplicationAdapter class call getVODProviderFile method for know StreamLength... then... Where must I change to work with InputStream only? Any hints to work with InputStream, then? ___ Red5 mailing list 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
Re: [Red5] Terracotta + Red5
Dan, On 5/21/07, Dan Rossi [EMAIL PROTECTED] wrote: Thats what im trying to work out aswell, if its not possible, its going to be impossible to cluster properly ? Yes, this thing is kind of tough. I will look into DMI for a solution. Steven Gong wrote: Hi Eugene, Thanks for your mail. The problem I got when trying to cluster the server is not related to Spring really but is due to the broadcasting between the server nodes. We have a Subscribers with Broadcaster model in both live stream and shared object cases, where one broadcaster needs to broadcast events to several subscribers that might be connected to different server nodes. Currently for a non-clustering version, we use a list for subscribers that have subscribed to a specific broadcaster but I don't know how to use TC to cluster this model. Do you have any idea about this problem? On 5/19/07, *Eugene Kuleshov* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Guys, I am one of the developers who implemented Spring support for Terracotta DSO, and I have really good idea what it can and what it can't do. On the other hand I know really little about red5, so please bear with me. :-) So, can you please explain to me what data exactly you need to cluster in red5? Can you also elaborate on what makes it difficult for you to learn for to integrate Spring? Also, I don't quite understand your concerns about standalone vs. tomcat (or other web servers). It is your own choice actually and Terracotta works in both cases. It might be easier for you to get your questions answered in the Terracotta mailing lists (tc-user or tc-dev) that you can subscribe to at http://terracotta.org/confluence/display/orgsite/Mailing+Lists regards, Eugene Dan Rossi-5 wrote: I think i hit a wall already, in this integration examples it says to load an application context file , im assuming its the red5-web.xml for each webapp, however all the bean id's are named the same ie web.handler, i took a look at the war configs and they are named differently, still not sure what to put in here http://www.terracotta.org/confluence/display/docs1/Integrations+Spring#IntegrationsSpring-Howtouseit http://www.terracotta.org/confluence/display/docs1/Integrations+Spring#IntegrationsSpring-Howtouseit Dan Rossi wrote: Ok damn, just checked out the samples and seems like its going to take a while to learn to integrate with spring, in a standalone and tomcat situation. Ill just continue on this custom stats logging and come back to it :) Dan Rossi wrote: Hi Im going to be looking at this scenario very shortly, however does this setup have its own caching and RMI mechanisms , or will I still be using the internal one setup in red5. What is the benefits of using something like this with tomcat as oppose to stand alone ? I do find it a PIA to make the updates i need, where a war file into tomcat is so much simpler just to update the server and applications. From looking at the demonstration video, im curious to know if its going to be possible for red5 apps to share the same published names. Ie, publish a broadcast to our load balancer ip which chooses a server and then starts archiving to our SAN, and then the subscribers are also connected to the load balancer, and when a broadcast has happened, all connected clients will get the call being sent from the application to switch to the stream. This would be most interesting to see if its possible. Let me know what others may be doing with it. thanks. Dan -- View this message in context: http://www.nabble.com/Terracotta-%2B-Red5-tf3775671.html#a10690836 http://www.nabble.com/Terracotta-%2B-Red5-tf3775671.html#a10690836 Sent from the Red5 - English mailing list archive at Nabble.com http://Nabble.com. ___ Red5 mailing list Red5@osflash.org mailto: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 -- I cannot tell why this heart languishes in silence
Re: [Red5] Terracotta + Red5
On 5/21/07, Dan Rossi [EMAIL PROTECTED] wrote: It has already been integrated ? Should I have a go at it now or wait a bit ? I got stuck with trying to work out how to add the webapps and its context xml files it is a little confusing. Seems it's a limitation of TC spring integration. Application context can only be specified as name. Chris Allen wrote: Hi Steve and Eugene, I just wanted to thank you guys for spending time helping some of us get Red5 running under Terracotta. I think that this combination, once the kinks are worked out, will be very powerful and should provide a solution for scaling Red5 applications in an elegant way. This is obviously something that many us are interested in. -Chris On 5/19/07, sharrissf [EMAIL PROTECTED] wrote: Terracotta has a concept called DMI Distributed method invocation. Some of our examples use this to update remote GUI's when models change. What you are describing sounds like it could also benefit from dmi. It's not a good idea to overuse this concept but it is useful for notification in cases where wait and notify aren't practical. Here is a link to the concept: http://www.terracotta.org/confluence/display/docs1/Concept+and+Architecture+Guide#ConceptandArchitectureGuide-DistributedMethodInvocation%28DMI%29 Cheers, Steve Steven Gong wrote: Hi Eugene, Thanks for your mail. The problem I got when trying to cluster the server is not related to Spring really but is due to the broadcasting between the server nodes. We have a Subscribers with Broadcaster model in both live stream and shared object cases, where one broadcaster needs to broadcast events to several subscribers that might be connected to different server nodes. Currently for a non-clustering version, we use a list for subscribers that have subscribed to a specific broadcaster but I don't know how to use TC to cluster this model. Do you have any idea about this problem? On 5/19/07, Eugene Kuleshov [EMAIL PROTECTED] wrote: Guys, I am one of the developers who implemented Spring support for Terracotta DSO, and I have really good idea what it can and what it can't do. On the other hand I know really little about red5, so please bear with me. :-) So, can you please explain to me what data exactly you need to cluster in red5? Can you also elaborate on what makes it difficult for you to learn for to integrate Spring? Also, I don't quite understand your concerns about standalone vs. tomcat (or other web servers). It is your own choice actually and Terracotta works in both cases. It might be easier for you to get your questions answered in the Terracotta mailing lists (tc-user or tc-dev) that you can subscribe to at http://terracotta.org/confluence/display/orgsite/Mailing+Lists regards, Eugene Dan Rossi-5 wrote: I think i hit a wall already, in this integration examples it says to load an application context file , im assuming its the red5-web.xmlfor each webapp, however all the bean id's are named the same ie web.handler, i took a look at the war configs and they are named differently, still not sure what to put in here http://www.terracotta.org/confluence/display/docs1/Integrations+Spring#IntegrationsSpring-Howtouseit Dan Rossi wrote: Ok damn, just checked out the samples and seems like its going to take a while to learn to integrate with spring, in a standalone and tomcat situation. Ill just continue on this custom stats logging and come back to it :) Dan Rossi wrote: Hi Im going to be looking at this scenario very shortly, however does this setup have its own caching and RMI mechanisms , or will I still be using the internal one setup in red5. What is the benefits of using something like this with tomcat as oppose to stand alone ? I do find it a PIA to make the updates i need, where a war file into tomcat is so much simpler just to update the server and applications. From looking at the demonstration video, im curious to know if its going to be possible for red5 apps to share the same published names. Ie, publish a broadcast to our load balancer ip which chooses a server and then starts archiving to our SAN, and then the subscribers are also connected to the load balancer, and when a broadcast has happened, all connected clients will get the call being sent from the application to switch to the stream. This would be most interesting to see if its possible. Let me know what others may be doing with it. thanks. Dan -- View this message in context: http://www.nabble.com/Terracotta-%2B-Red5-tf3775671.html#a10690836 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 -- I cannot tell why this heart languishes in silence. It is for small needs it never asks, or knows or remembers
Re: [Red5] Terracotta + Red5
Hi Eugene, Thanks for your mail. The problem I got when trying to cluster the server is not related to Spring really but is due to the broadcasting between the server nodes. We have a Subscribers with Broadcaster model in both live stream and shared object cases, where one broadcaster needs to broadcast events to several subscribers that might be connected to different server nodes. Currently for a non-clustering version, we use a list for subscribers that have subscribed to a specific broadcaster but I don't know how to use TC to cluster this model. Do you have any idea about this problem? On 5/19/07, Eugene Kuleshov [EMAIL PROTECTED] wrote: Guys, I am one of the developers who implemented Spring support for Terracotta DSO, and I have really good idea what it can and what it can't do. On the other hand I know really little about red5, so please bear with me. :-) So, can you please explain to me what data exactly you need to cluster in red5? Can you also elaborate on what makes it difficult for you to learn for to integrate Spring? Also, I don't quite understand your concerns about standalone vs. tomcat (or other web servers). It is your own choice actually and Terracotta works in both cases. It might be easier for you to get your questions answered in the Terracotta mailing lists (tc-user or tc-dev) that you can subscribe to at http://terracotta.org/confluence/display/orgsite/Mailing+Lists regards, Eugene Dan Rossi-5 wrote: I think i hit a wall already, in this integration examples it says to load an application context file , im assuming its the red5-web.xml for each webapp, however all the bean id's are named the same ie web.handler, i took a look at the war configs and they are named differently, still not sure what to put in here http://www.terracotta.org/confluence/display/docs1/Integrations+Spring#IntegrationsSpring-Howtouseit Dan Rossi wrote: Ok damn, just checked out the samples and seems like its going to take a while to learn to integrate with spring, in a standalone and tomcat situation. Ill just continue on this custom stats logging and come back to it :) Dan Rossi wrote: Hi Im going to be looking at this scenario very shortly, however does this setup have its own caching and RMI mechanisms , or will I still be using the internal one setup in red5. What is the benefits of using something like this with tomcat as oppose to stand alone ? I do find it a PIA to make the updates i need, where a war file into tomcat is so much simpler just to update the server and applications. From looking at the demonstration video, im curious to know if its going to be possible for red5 apps to share the same published names. Ie, publish a broadcast to our load balancer ip which chooses a server and then starts archiving to our SAN, and then the subscribers are also connected to the load balancer, and when a broadcast has happened, all connected clients will get the call being sent from the application to switch to the stream. This would be most interesting to see if its possible. Let me know what others may be doing with it. thanks. Dan -- View this message in context: http://www.nabble.com/Terracotta-%2B-Red5-tf3775671.html#a10690836 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 -- 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
Re: [Red5] ServerStream app avaialble
Hi Lenny, On 5/17/07, Lenny Sorey [EMAIL PROTECTED] wrote: Hello Steven, Question about creating a ticket for this app. Since this is a native Flex 2 builder, do you think I need to also include a build.xml for those users who don't have Flex 2 Builder but do use Flex2-sdk? Sure, that'll be great if you include a build.xml for your build. If so I will also include that as well. After that I will create the ticket and attached the app and related swf. Subsequent to that I will notify you and let you know the ticket is created. Thanks for your contribution Lenny! :-) Thanks, Lenny On 5/9/07, Steven Gong [EMAIL PROTECTED] wrote: Lenny, Thanks for your app. If you'd like, you can create a ticket on JIRA and attach your application and related swf to it. I can help you to check the code to SVN as an example of server side stream. On 5/10/07, Lenny Sorey [EMAIL PROTECTED] wrote: Hello All, I have placed the Flex 2 serverStream app player on my ftp at the following that I have been testing for the past couple of days. ftp://www.fatdot.com/ username: red5 password: red5 You will need to create a tv folder as follows: red5/webapps/tv and place the application Basically, I copied the red5/webapps/oflaDemo and removed what I didn't need. Then I added the Application.java and Playtester.java into the following folder: red5\webapps\tv\WEB-INF\src\org\red5\server\webapp\tv I edited my build.xml to add in the necessary build info for the tv folder and built the app with ant as a webwar, exploded the red5 war file and dropped it into Tomcat webapps folder. The tv Flex 2 app was rebuilt with the IP address of 127.0.0.1. If you want to change this IP address you will need either Flex Builder 2.01 or you can just change the IP address and rebuild it with flex_sdk_2 (it's free from Adobe) and ANT. If anyone can find an answer as to why this app sputters and sometime pauses, please let me know I cannot find any problems that relates to the sputter or pauses in the logs.. One thing to be aware of, when you start your Jetty or Tomcat service, this app starts running so if you access the tv.html you will enter in whereever the app in in any of the videos running. I only used the videos that come with RED5. If you don't want to stream from the default stream folder you will need to change this is the application.java file. This is a good ole live0 app. Hope you find this app useful. Regards, Lenny ___ Red5 mailing list 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 -- 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
Re: [Red5] one serverstream for all consumers
Dirk, The server side stream is just for all subscribers not a particular subscriber. And to repeat your file, you can call ServerStream.setRepeat (true). On 5/17/07, Dirk Rudolf [EMAIL PROTECTED] wrote: Hi there, perhaps someone can point me in the right direction. I am trying to create one serverstream for all consumers, that plays one file in a loop. Right now i can only get a serverstream, that plays for each subscriber individually, using the code from the oflaDemo. Are there any examples to get this working out of the box or do i have to implement such a function by myself? I am grateful for any idea on this one, thx -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail ___ Red5 mailing list 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
Re: [Red5] Problem with Red5 on video on demand streaming of larger files
David, If you are using release 0.5, I don't have any idea about why you got out of memory error while playing big VOD files. We haven't done the similar tests at that time. We did have implemented some FLV caching before but that was after the release 0.5. (The revision for 0.5 is r1233 but the FLV caching code was added on r1400 and the problem because of this caching code was fixed on r1556 and r1578) If it's possible, I recommend you to try 0.6. I believe this issue is fixed on that release. On 5/11/07, David Wettig [EMAIL PROTECTED] wrote: Hello, we recently used the 0.5 version of Red5 for some kind of on demand streaming server. That was some time before the final version of 0.6 was released. The problem was that we used movies up to 200MB in size being streamed up to something like 50 clients. We never got that far, because we got massivly out of memory errors and it appeared that red5 0.5 loads one movie per stream completely into memory instead of sharing the file or reading small chunks from the filesystem. At this time there was only an early 0.6 release candidate available which improved the whole thing a bit though the memory load was very high and red5 crashes after some few hours. I've read at this time about some change talking about the use of bigger chunks instead of the whole file. Maybe i'm wrong here with my supposition, but is it the case that Red5 is not designed to handle such a case, having many clients streaming larger movies? I admit i din't gave the final 0.6 version a try yet, because our service is productive and we currently offer only small size on demand videos to the clients where no problem exists at all. The normal usage is somwhat between 20 and 80 clients. So we can't use our user as testers for new versions of Red5. What i need to know is: Is this a known problem? Maybe already fixed by some sort of newly implemented prefetch, cache and share thing? Or is it a to do subject? Thanks for your support. Regards,David. ___ Red5 mailing list 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
Re: [Red5] RES: Running r1975 with success!
Nathan, On 5/12/07, Nathan P. Johansen [EMAIL PROTECTED] wrote: For what it's worth, I'm happy to read such promising results from this particular revision. On the other hand, I switched over to it, ran it for the past twenty hours, and had to restart it seven times because large video on demand streams started to hang after the first two seconds of playback. How big is the VOD file? Probably two different sorts of issues, but again, it's nice to know that the web cam and other live feeds work well with this revision. Nate On Fri, 11 May 2007, Luiz Filipe wrote: Hi Klaus, Red5 team and users. More feedback about my application: We have been running r1975 as well since last Sunday without restart or freeze issue. Our average connected users are 600. CPU 15 - 30% Memory: 40% Server: 1 cpu P4 HT 2 GB Ram RedHat Fedora Core 5 100Mb bandwidth Best Regards, Luiz Filipe. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Klaus Enviada em: quinta-feira, 10 de maio de 2007 10:05 Para: Red5@osflash.org Assunto: [Red5] Running r1975 with success! Hi list, Just to let you know. I've been running r1975 since May05 without restart. Red5 is running simple live webcam, with 10-60 connections and the stream is smooth. No stutter every 1-2 seconds or worse which was before. CPU percent : 0.0% Memory percent 1.8% Server: Ibm x346, 2x3.2Ghz CPU, 2 GB ram, redhat enterprise also running, apache, mysql,php lighttpd Flash Communication server ( for some old apps) irc server So its just great!! ___ 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 -- 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
Re: [Red5] Chris Allen's discussion at FITC on Video
Cool! Thanks John for this information and thanks Chris for this great presentation. This makes us all feel even more proud of our deliverables to the community and to the world! Still waiting for your show in FITC 2007, John. ;-) On 5/11/07, John Grden [EMAIL PROTECTED] wrote: http://www.brightcove.com/title.jsp?title=823375949channel=5957394 awesome! -- [ JPG ] ___ Red5 mailing list 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
Re: [Red5] Chris Allen's discussion at FITC on Video
On 5/11/07, Joachim Bauch [EMAIL PROTECTED] wrote: John Grden schrieb: http://www.brightcove.com/title.jsp?title=823375949channel=5957394 Great presentation Chris! Too bad the screen is mostly all white in the video. Audio is clear. Maybe the screen is too light? Joachim ___ Red5 mailing list 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
Re: [Red5] Seperate configs for sub scopes possible ?
And the logger should also be maintained in Scope, say Scope.getScopeLogger(). The Connection and Stream that belong to the scope need to obtain the logger by getScope().getScopeLogger() and then do the logging stuff. On 5/9/07, Dan Rossi [EMAIL PROTECTED] wrote: Ahh i already do for the application level logging. So whatever is logged at the application level is going to a seperate file its outside the root logger cat. I guess i need to setup a category for each subscope i want to log and then somehow set its category before logging ? ie /myapp/scope1 will log stats data to /logs/scope1/red5_timestamp.log and /myapp/scope2 will log stats data to /logs/scope2/red5_timestamp.log here is my apps log4j.xml currently so none of the root categories from the red5 server logs gets added ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration appender name=STATS class=org.apache.log4j.ConsoleAppender param name=Threshold value=INFO/ layout class=logging.W3CPatternLayout param name=Fields value=field1,field3,field2/ param name=Delimiter value=\t/ /layout /appender appender name=APP class=org.apache.log4j.DailyRollingFileAppender param name=File value=${vod.root}/logs/application/app.log/ param name=DatePattern value='.'-MM-dd/ param name=Threshold value=INFO/ layout class=org.apache.log4j.PatternLayout param name=ConversionPattern value=[%p] %r %t:( %c{1}.%M ) %m %n/ /layout filter class=org.apache.log4j.varia.LevelRangeFilter param name=LevelMin value=INFO/ /filter /appender logger name=stats.VODApplication level value=INFO/ appender-ref ref=STATS/ /logger logger name=app.VODApplication level value=INFO/ appender-ref ref=APP/ /logger logger name=generator.FileNameGenerator level value=INFO/ appender-ref ref=APP/ /logger /log4j:configuration Steven Gong wrote: On 5/9/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi i was wondering if its possible to create seperate config files for sub scopes in an application ? Id like to be able to set different log4j settings so each sub scope has its own config file. Possible ? I guess this is a spring question correct ? Or does red5 specifically load the config files ? If you want the log4j specific settings, I am afraid it's not possible currently as Red5 uses a single conf file for log4j. It's possible to separate the log files for different scopes but might need an enhancement of the logger category and logger creation. ___ Red5 mailing list Red5@osflash.org mailto: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 -- 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
Re: [Red5] Seperate configs for sub scopes possible ?
On 5/9/07, Dan Rossi [EMAIL PROTECTED] wrote: I cant see those methods you mentioned, is that a question ? No, the method I mentioned doesn't exist. I just provided a possible solution for Scope-level logging. I guess that could also work if I can dynamically set the sub scope name as the category to log to for logging to different files ? I think a good solution might be: the scope initializes a logger first (whether dynamic or static) and all the objects that are contained in the scope will use that logger. This is how concerns are well separated. Steven Gong wrote: And the logger should also be maintained in Scope, say Scope.getScopeLogger(). The Connection and Stream that belong to the scope need to obtain the logger by getScope().getScopeLogger() and then do the logging stuff. On 5/9/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ahh i already do for the application level logging. So whatever is logged at the application level is going to a seperate file its outside the root logger cat. I guess i need to setup a category for each subscope i want to log and then somehow set its category before logging ? ie /myapp/scope1 will log stats data to /logs/scope1/red5_timestamp.log and /myapp/scope2 will log stats data to /logs/scope2/red5_timestamp.log here is my apps log4j.xml currently so none of the root categories from the red5 server logs gets added ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration appender name=STATS class= org.apache.log4j.ConsoleAppender param name=Threshold value=INFO/ layout class=logging.W3CPatternLayout param name=Fields value=field1,field3,field2/ param name=Delimiter value=\t/ /layout /appender appender name=APP class=org.apache.log4j.DailyRollingFileAppender param name=File value=${vod.root}/logs/application/app.log/ param name=DatePattern value='.'-MM-dd/ param name=Threshold value=INFO/ layout class=org.apache.log4j.PatternLayout param name=ConversionPattern value=[%p] %r %t:( %c{1}.%M ) %m %n/ /layout filter class=org.apache.log4j.varia.LevelRangeFilter param name=LevelMin value=INFO/ /filter /appender logger name=stats.VODApplication level value=INFO/ appender-ref ref=STATS/ /logger logger name=app.VODApplication level value=INFO/ appender-ref ref=APP/ /logger logger name=generator.FileNameGenerator level value=INFO/ appender-ref ref=APP/ /logger /log4j:configuration Steven Gong wrote: On 5/9/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi i was wondering if its possible to create seperate config files for sub scopes in an application ? Id like to be able to set different log4j settings so each sub scope has its own config file. Possible ? I guess this is a spring question correct ? Or does red5 specifically load the config files ? If you want the log4j specific settings, I am afraid it's not possible currently as Red5 uses a single conf file for log4j. It's possible to separate the log files for different scopes but might need an enhancement of the logger category and logger creation. ___ Red5 mailing list Red5@osflash.org mailto:Red5@osflash.org mailto:Red5@osflash.org mailto: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 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 -- 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
Re: [Red5] Seperate configs for sub scopes possible ?
Sure, go ahead please. :-) On 5/9/07, Dan Rossi [EMAIL PROTECTED] wrote: Should i put in a feature request ? Steven Gong wrote: On 5/9/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I cant see those methods you mentioned, is that a question ? No, the method I mentioned doesn't exist. I just provided a possible solution for Scope-level logging. I guess that could also work if I can dynamically set the sub scope name as the category to log to for logging to different files ? I think a good solution might be: the scope initializes a logger first (whether dynamic or static) and all the objects that are contained in the scope will use that logger. This is how concerns are well separated. Steven Gong wrote: And the logger should also be maintained in Scope, say Scope.getScopeLogger(). The Connection and Stream that belong to the scope need to obtain the logger by getScope().getScopeLogger() and then do the logging stuff. On 5/9/07, *Dan Rossi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ahh i already do for the application level logging. So whatever is logged at the application level is going to a seperate file its outside the root logger cat. I guess i need to setup a category for each subscope i want to log and then somehow set its category before logging ? ie /myapp/scope1 will log stats data to /logs/scope1/red5_timestamp.log and /myapp/scope2 will log stats data to /logs/scope2/red5_timestamp.log here is my apps log4j.xml currently so none of the root categories from the red5 server logs gets added ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration appender name=STATS class= org.apache.log4j.ConsoleAppender param name=Threshold value=INFO/ layout class=logging.W3CPatternLayout param name=Fields value=field1,field3,field2/ param name=Delimiter value=\t/ /layout /appender appender name=APP class=org.apache.log4j.DailyRollingFileAppender param name=File value=${vod.root}/logs/application/app.log/ param name=DatePattern value='.'-MM-dd/ param name=Threshold value=INFO/ layout class=org.apache.log4j.PatternLayout param name=ConversionPattern value=[%p] %r %t:( %c{1}.%M ) %m %n/ /layout filter class=org.apache.log4j.varia.LevelRangeFilter param name=LevelMin value=INFO/ /filter /appender logger name=stats.VODApplication level value=INFO/ appender-ref ref=STATS/ /logger logger name=app.VODApplication level value=INFO/ appender-ref ref=APP/ /logger logger name=generator.FileNameGenerator level value=INFO/ appender-ref ref=APP/ /logger /log4j:configuration Steven Gong wrote: On 5/9/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: Hi i was wondering if its possible to create seperate config files for sub scopes in an application ? Id like to be able to set different log4j settings so each sub scope has its own config file. Possible ? I guess this is a spring question correct ? Or does red5 specifically load the config files ? If you want the log4j specific settings, I am afraid it's not possible currently as Red5 uses a single conf file for log4j. It's possible to separate the log files for different scopes but might need an enhancement of the logger category and logger creation. ___ Red5 mailing list Red5@osflash.org mailto:Red5@osflash.org mailto: Red5@osflash.org mailto:Red5@osflash.org
Re: [Red5] ServerStream app avaialble
Lenny, Thanks for your app. If you'd like, you can create a ticket on JIRA and attach your application and related swf to it. I can help you to check the code to SVN as an example of server side stream. On 5/10/07, Lenny Sorey [EMAIL PROTECTED] wrote: Hello All, I have placed the Flex 2 serverStream app player on my ftp at the following that I have been testing for the past couple of days. ftp://www.fatdot.com/ username: red5 password: red5 You will need to create a tv folder as follows: red5/webapps/tv and place the application Basically, I copied the red5/webapps/oflaDemo and removed what I didn't need. Then I added the Application.java and Playtester.java into the following folder: red5\webapps\tv\WEB-INF\src\org\red5\server\webapp\tv I edited my build.xml to add in the necessary build info for the tv folder and built the app with ant as a webwar, exploded the red5 war file and dropped it into Tomcat webapps folder. The tv Flex 2 app was rebuilt with the IP address of 127.0.0.1. If you want to change this IP address you will need either Flex Builder 2.01 or you can just change the IP address and rebuild it with flex_sdk_2 (it's free from Adobe) and ANT. If anyone can find an answer as to why this app sputters and sometime pauses, please let me know I cannot find any problems that relates to the sputter or pauses in the logs.. One thing to be aware of, when you start your Jetty or Tomcat service, this app starts running so if you access the tv.html you will enter in whereever the app in in any of the videos running. I only used the videos that come with RED5. If you don't want to stream from the default stream folder you will need to change this is the application.java file. This is a good ole live0 app. Hope you find this app useful. Regards, Lenny ___ Red5 mailing list 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
Re: [Red5] Adobes FLVchecker
On 5/10/07, Dominick Accattato [EMAIL PROTECTED] wrote: Correct, we won't use it. The only use case would be to make sure the recorded flv is perfect, however thats not a Red5 issue. Either way its good to know how and when you can use a tool. Thanks Joachim for finding that. Yep, I think Paul's original intention is just a FYI for the list and I believe this should be a good tool in itself. On 5/9/07, Interalab [EMAIL PROTECTED] wrote: If all it does is verify the file format of an .flv file, then you're not using it with Red5. Joachim Bauch wrote: Mondain schrieb: FYI http://labs.adobe.com/downloads/flvcheck.html I'm no lawyer, but doesn't that section prevent it from being used in any way with Red5? 4.3 General Restrictions. You may only use the Software to verify that the FLV Files have been encoded to allow for uninterrupted playback using the Flash Media Server. You may not use the Software in any way to create a server, executable, or other program that will steam or deliver data and/or content from a client to a server, from a server to another server, or from a server to a client. You may not use the Software with any other Adobe or third party software, except Flash Media Server. You may not distribute the Software and Documentation to any third party. Joachim ___ 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 -- Dominick Accattato, CTO Infrared5 Inc. www.newviewnetworks.com ___ Red5 mailing list 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
Re: [Red5] IStreamFlow missing from ISubscriberStream
Hi Dan, Yes, it's been removed after the logic of tracking the client buffer is enhanced. We assumed that the StreamFlow only aims to control the client buffer and didn't notice that it's been exposed as an API. It seems that we need to add this functionality back. Thanks for the reminder. On 5/8/07, Dan Rossi [EMAIL PROTECTED] wrote: Hi , any ideas where it went, its definitely missing from the source, so we are unable to obtain streaming information anymore ? The getStreamFlow method is gone. Dan Rossi wrote: Hi there, im trying to again revisit implementing a W3C log of stream stats for our next server application which will need this kind of logging like with FMS. Ive noticed that getStreamFlow is now missing from ISubscriberStream, where can i find it now ? I tried this but no luck IStreamFlow streamStats = (IStreamFlow)stream; streamStats.getTotalStreamTime() I noticed there is nothing added into the statistics package yet about any kind of stream information, just about how many SO are loaded which is not so useful. Let me know and ill try and add it in. Dan ___ 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 -- 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
Re: [Red5] RED5 Playlist and ServerSide - some info that may help you
Stanislaw, I have updated the ServerStream.java hoping to fix the problem you got. The list, if you have used or will use ServerStream to implement features like stream switching on server side, could you please help test ServerStream to see if it works as expected? Thanks. Below is a conceptual method that could be put to Application class, which implements a server side stream named live1 created after the publishing of live stream live0. live1 takes two items, the live0 and a VOD. A timer with interval 10s will trigger a switching between the two items. It works fine here. public void streamPublishStart(IBroadcastStream stream) { if (live0.equals(stream.getPublishedName())) { serverStream = StreamUtils.createServerStream(appScope, live1); SimplePlayItem item = new SimplePlayItem(); item.setStart(-2); item.setLength(-1); item.setName(live0); serverStream.addItem(item); item = new SimplePlayItem(); item.setStart(1); item.setLength(30); item.setName(on2_flash8_w_audio); serverStream.addItem(item); serverStream.setRewind(true); serverStream.start(); ISchedulingService service = (ISchedulingService) serverStream.getScope().getContext().getBean(ISchedulingService.BEAN_NAME); jobName = service.addScheduledJob(1, new IScheduledJob() { public void execute(ISchedulingService service) throws CloneNotSupportedException { // switch it serverStream.setItem(1 - serverStream.getCurrentItemIndex()); } }); } } On 5/8/07, Steven Gong [EMAIL PROTECTED] wrote: Stanislaw, I did the following and not find anything abnormal with the ServerSideStream. I prepared a playlist of 100 items this thus: public void streamPublishStart(IBroadcastStream stream) { if (live0.equals(stream.getPublishedName())) { serverStream = StreamUtils.createServerStream(appScope, live1); for (int i = 0; i 100; i++) { SimplePlayItem item = new SimplePlayItem(); item.setStart(-2); item.setLength(2); item.setName(live0); serverStream.addItem(item); item = new SimplePlayItem(); item.setStart(1); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); } serverStream.start(); } } I don't know if this is your scenario. I want to know what is exactly your usage model for the server stream. On 5/8/07, Steven Gong [EMAIL PROTECTED] wrote: Stanislaw, Sorry but I don't know how to use your client application as I don't have the flex dev env and I know little about swf. I will look into the issues you mentioned. The lag of the live stream is also seen here and I am trying to get it fixed. On 5/7/07, Stanisław Fiedor [EMAIL PROTECTED] wrote: Hi! Here is the testApp the java code and the Flex code (also with a compiled swf) it connects to rtmp://localhost:1935/switcherApp I hope it's gonna help you BR Stanislaw -- 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 -- 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 -- 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
Re: [Red5] ServerStream Test
On 5/9/07, Dan Rossi [EMAIL PROTECTED] wrote: The second clip switched nicely with a second of pause, however it lost its audio, near the end it got audio for when the server is set to repeat and got a heap of audio artifacts, ive experienced the same thing with the server playlist going nuts so canned it. Cant really see a serrver side stream/playlist being used as an ad-insertion feature because the stream is live so is not playing at the start when its requested :) If somehow this feature could be added as an xml template server side playlist file that would be interesting so file src=ad1.flv file src={requested file } file src=ad2.flv or if files can be prepended and appended to the file being requested that would be interesting also not that i need ad-insertion but aparantly some do. This is interesting. It's a customized VOD rather than a server side live stream. When a requested file is requested, create a playlist on the fly by adding items ad1 requested file and ad2 to the list and streaming to the client. I will put this as a new feature to wiki. Lenny Sorey wrote: I have a Flex 2 app that can be tested. http://www.fatdot.com:8080/red5/tv1.html Please let me know how it runs for you. It's from Jan Muller (Honza)'s Flex app that was tested a couple of week's ago. Jan gave me a copy to test with the ServerStream portion of Red5. I have made a few changes to the app and would like to test it now. To tell you the truth, I am not sure how this will test. On some of my client machines it splits and spudders. On a different machine it plays without any problems. Try out the full screen feature, the graphics are pretty nice. I will make the source available for this app tomorrow afternoon for those who want to test and improve. One request, I ask if you make any improvement to the app I would like to have a copy back as I am also still learning Flash, Flex and Red5. I would also like for Honza to receive a copy of any improvement anyone makes to this app. 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 -- 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
Re: [Red5] Seperate configs for sub scopes possible ?
On 5/9/07, Dan Rossi [EMAIL PROTECTED] wrote: Hi i was wondering if its possible to create seperate config files for sub scopes in an application ? Id like to be able to set different log4j settings so each sub scope has its own config file. Possible ? I guess this is a spring question correct ? Or does red5 specifically load the config files ? If you want the log4j specific settings, I am afraid it's not possible currently as Red5 uses a single conf file for log4j. It's possible to separate the log files for different scopes but might need an enhancement of the logger category and logger creation. ___ Red5 mailing list 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
Re: [Red5] stress test results
From the link Luke provided below, it seems that the culprit is the Option ROM in the e1000. So it should be a hardware issue. Bill, are you using the Intel 82573E 1G network card in your test? On 5/8/07, Luke Hubbard [EMAIL PROTECTED] wrote: Hi Bill, Thanks for running this test. The cpu numbers are promising if we can fix this other issue. Can you provide deals of how much memory the red5 process was using. To be clear every time the server died it didn't hang its process died. That is very odd, if there was some exception it should have been logged. I suspect something happened in a native networking code which killed the java process. I googled those errors you got in your system logs and found this.. http://osdir.com/ml/linux.drivers.e1000.devel/2007-01/msg00133.html http://www.kaltenbrunner.cc/blog/index.php?/archives/8-fixing-e1000-TX-transmit-timeouts-at-least-some-of-them.html Sounds like it might be possible to fix the error by adjusting the nic settings. Is anyone else getting experiencing the same symptoms? Process dieing without hanging or throwing any errors? If so please speak up. Luke On 5/8/07, Interalab [EMAIL PROTECTED] wrote: Rob Schoenaker and I ran a little stress test this morning and wanted to share our results. Rob, feel free to add to or correct me if you want. This was a test of one publishing live stream client and many subscribing clients. Here's the server config: Xubuntu Linux AMD 64 3500+ processor 4 GB RAM Red 5 trunk ver 1961 Gbit Internet connection Client side: From the other side of the world . . . Lots of available bandwidth The first run choked the server at 256 simultaneous connections. They were 250k - 450k live streams. After a re-boot, we got up into the 300 + connections. This time the resolution was lower, so the average bandwidth per stream was about 150k Server looked like this: Cpu(s): 12.0%us, 2.0%sy, 0.0%ni, 84.0%id, 0.0%wa, 0.3%hi, 1.7%si, 0.0%st Mem: 3976784k total, 1085004k used, 2891780k free, 7896k buffers Swap: 2819368k total,0k used, 2819368k free, 193740k cached After about 15 minutes, and over 400 connections, Red5 quit without any log errors. The Java PID just went away. Had a bunch of these in dmesg: e1000: eth1: e1000_clean_tx_irq: Detected Tx Unit Hang Started Red5 by running red5.sh without re-booting the server. It came right back up and started streaming again. This time, we set the resolution to 80x60, or about 60-80 kbps per stream. Rob tried to crash it by launching about 200 connections in about 10 seconds, but it kept running. It didn't die again. Final outcome of the last test: 627 concurrent connections peak approx 1100 connections total (some dropped when browsers crashed under the load, etc.) At the peak, player buffers started to get big. Some as high as 70, most of mine were in the 30's. So, my observation is that even though the server and available bandwidth didn't seem to be stressed too much - lots of memory and cpu % in the teens, the larger the individual streams, the fewer total connections we could make. Not very scientific, but we thought it was worth sharing with the list. Regards, Bill ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- Luke Hubbard codegent | coding for the people http://www.codegent.com NMA Top 100 Interactive Agencies - Ones to watch! http://www.codegent.com/top100/ want to know more? http://www.codegent.com/showreel/ This e-mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this e-mail, or any part of it, please delete this email and any attachments immediately on receipt. You should not disclose the contents to any other person or take copies. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of codegent limited. ___ Red5 mailing list 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
Re: [Red5] adding a live stream to the PlayList (on the server-side) - how??
stf, I think you'd better add the live stream when it's been published. To achieve that, you can put the serverStream.addItem() call in streamPublishStart() callback from IStreamAwareScopeHandler. This interface can be implemented by your Application class. On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: Hi! I need to add a live stream (that is not being recorded) to a playlist on the server-side - but there is a problem with it.. When it comes to prerecorded streams there is no problem when I do it like that: serverStream = StreamUtils.createServerStream(appScope, live0); SimplePlayItem item = new SimplePlayItem(); item.setStart(0); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); ... item = new SimplePlayItem(); item.setStart(2); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); serverStream.start(); But if I try to add a live stream: item = new SimplePlayItem(); //item.setStart(2); //item.setLength(1); item.setName (the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream); serverStream.addItem(item); Then red5 can't find the stream and doesn't add it to the playlist. But if i publish the live stream and record it then it works. Of course I would like to add the stream also when it's not being recorded. So if you know how to manage it I would be very thankful for your help. (It is very urgent :/) Best Regards stf ___ Red5 mailing list 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
Re: [Red5] Error With latest Trunk Update
Lenny, Are you sure that the mina you were using is 1.1.0? We've upgraded mina jars recently from 1.0.1 to 1.1.0. On 5/3/07, Lenny Sorey [EMAIL PROTECTED] wrote: Hello All, I have the following error message in my logs regarding the startup of RED5 and RED5 will not startup with webwar build. Anyone else having this problem? Regards, Lenny Platform: Tomcat 5.5 Java 1.6 Trunk 1845 * [INFO] 0 Thread-1:( org.springframework.core.CollectionFactory.clinit ) JDK 1.4+ collections available [INFO] 0 Thread-1:( org.springframework.core.CollectionFactory.clinit ) Commons Collections 3.x available [INFO] 2110 Thread-1:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties) Loading properties file from class path resource [ red5.properties] [INFO] 2156 Thread-1:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons) Pre-instantiating singletons in factory [ org.springframework.beans.factory.support.DefaultListableBeanFactorydefining beans [ global.clientRegistry,global.serviceInvoker,global.mappingStrategy, global.context,global.handler,global.scope,red5.scopeResolver,web.context, web.scope,red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool, object.cache,keyframe.cache,flv.impl, org.springframework.beans.factory.config.MethodInvokingFactoryBean, org.springframework.beans.factory.config.MethodInvokingFactoryBean#1, flvreader.impl,mp3reader.impl,streamExecutor,playlistSubscriberStream,clientBroadcastStream,customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection, echo.context,echo.scope,echo.handler,tv.context,tv.scope,tv.handler, fitcDemo.context,fitcDemo.scope,fitcDemo.handler,SOSample.context, SOSample.scope,SOSample.handler,tutorial.context,tutorial.scope, tutorial.handler,ofla.context ,ofla.scope,ofla.handler,demoService.service]; root of BeanFactory hierarchy] [INFO] 3031 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP Mina Transport Settings [INFO] 3031 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) IO Threads: 1+1 [INFO] 3031 Thread-1:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Event Threads: core: 16+1 max: 32+1 queue: -1 keepalive: 60 [INFO] 3110 Thread-1:( org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons) Destroying singletons in { org.springframework.beans.factory.support.DefaultListableBeanFactorydefining beans [ global.clientRegistry,global.serviceInvoker,global.mappingStrategy, global.context,global.handler,global.scope ,red5.scopeResolver,web.context ,web.scope,red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool, object.cache,keyframe.cache,flv.impl, org.springframework.beans.factory.config.MethodInvokingFactoryBean, org.springframework.beans.factory.config.MethodInvokingFactoryBean#1, flvreader.impl,mp3reader.impl,streamExecutor,playlistSubscriberStream,clientBroadcastStream,customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection, echo.context,echo.scope,echo.handler,tv.context,tv.scope,tv.handler, fitcDemo.context,fitcDemo.scope,fitcDemo.handler,SOSample.context, SOSample.scope,SOSample.handler,tutorial.context,tutorial.scope, tutorial.handler,ofla.context ,ofla.scope,ofla.handler,demoService.service]; root of BeanFactory hierarchy} [ERROR] 3110 Thread-1:( org.red5.server.MainServlet.contextInitialized ) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rtmpTransport' defined in ServletContext resource [/WEB-INF/red5- core.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.mina.transport.socket.nio.SocketAcceptor.getDefaultConfig()Lorg/apache/mina/transport/socket/nio/SocketAcceptorConfig; ___ Red5 mailing list 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
Re: [Red5] adding a live stream to the PlayList (on theserver-side) - how??
On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: Hi Steven, I already add the live stream to the playlist after the live stream is published.. but it doesn't work (with 0.6rc2). With 0.6final while playing the VOD stream from the playlist the audio is there but the video looks like some snapshots :/ you can't even call it video, it looked MUCH better with 0.6rc2. You mean the VOD in ServerStream or VOD in a normal subscriber stream? (adding the live stream to the playlist doesn't work on 0.6final) There are also some problems when broadcastig from Flex - the video is also crappy... Any idea why? - Original Message - *From:* Steven Gong [EMAIL PROTECTED] *To:* Red5@osflash.org *Sent:* Thursday, May 03, 2007 2:06 PM *Subject:* Re: [Red5] adding a live stream to the PlayList (on theserver-side) - how?? stf, I think you'd better add the live stream when it's been published. To achieve that, you can put the serverStream.addItem() call in streamPublishStart() callback from IStreamAwareScopeHandler. This interface can be implemented by your Application class. On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: Hi! I need to add a live stream (that is not being recorded) to a playlist on the server-side - but there is a problem with it.. When it comes to prerecorded streams there is no problem when I do it like that: serverStream = StreamUtils.createServerStream(appScope, live0); SimplePlayItem item = new SimplePlayItem(); item.setStart(0); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); ... item = new SimplePlayItem(); item.setStart(2); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); serverStream.start(); But if I try to add a live stream: item = new SimplePlayItem(); //item.setStart(2); //item.setLength(1); item.setName(the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream); serverStream.addItem(item); Then red5 can't find the stream and doesn't add it to the playlist. But if i publish the live stream and record it then it works. Of course I would like to add the stream also when it's not being recorded. So if you know how to manage it I would be very thankful for your help. (It is very urgent :/) Best Regards stf ___ Red5 mailing list 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 -- 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
Re: [Red5] adding a live stream to the PlayList (on theserver-side)- how??
Ok, I will try this out later. I have tried this functionality before 0.6final release and didn't get any problem. On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: I mean the VOD in ServerStream - Original Message - *From:* Steven Gong [EMAIL PROTECTED] *To:* Red5@osflash.org *Sent:* Thursday, May 03, 2007 4:58 PM *Subject:* Re: [Red5] adding a live stream to the PlayList (on theserver-side)- how?? On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: Hi Steven, I already add the live stream to the playlist after the live stream is published.. but it doesn't work (with 0.6rc2). With 0.6final while playing the VOD stream from the playlist the audio is there but the video looks like some snapshots :/ you can't even call it video, it looked MUCH better with 0.6rc2. You mean the VOD in ServerStream or VOD in a normal subscriber stream? (adding the live stream to the playlist doesn't work on 0.6final) There are also some problems when broadcastig from Flex - the video is also crappy... Any idea why? - Original Message - *From:* Steven Gong [EMAIL PROTECTED] *To:* Red5@osflash.org *Sent:* Thursday, May 03, 2007 2:06 PM *Subject:* Re: [Red5] adding a live stream to the PlayList (on theserver-side) - how?? stf, I think you'd better add the live stream when it's been published. To achieve that, you can put the serverStream.addItem() call in streamPublishStart() callback from IStreamAwareScopeHandler. This interface can be implemented by your Application class. On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: Hi! I need to add a live stream (that is not being recorded) to a playlist on the server-side - but there is a problem with it.. When it comes to prerecorded streams there is no problem when I do it like that: serverStream = StreamUtils.createServerStream(appScope, live0); SimplePlayItem item = new SimplePlayItem(); item.setStart(0); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); ... item = new SimplePlayItem(); item.setStart(2); item.setLength(1); item.setName(on2_flash8_w_audio); serverStream.addItem(item); serverStream.start(); But if I try to add a live stream: item = new SimplePlayItem(); //item.setStart(2); //item.setLength(1); item.setName(the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream); serverStream.addItem(item); Then red5 can't find the stream and doesn't add it to the playlist. But if i publish the live stream and record it then it works. Of course I would like to add the stream also when it's not being recorded. So if you know how to manage it I would be very thankful for your help. (It is very urgent :/) Best Regards stf ___ Red5 mailing list 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 -- 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 -- 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
Re: [Red5] what about a financial donation
. Regards, Lenny On 4/26/07, Ruben Waitz [EMAIL PROTECTED] wrote: What about a financial donation from the list to push Red5 even harder? Let's say if 500 ppl volunteer to donate $50,-That's $ 25000,- Maybe with that money download servers and spare time of the developers can be financed. Gr, Ruben ___ 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 -- [ JPG ] ___ Red5 mailing list 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
Re: [Red5] Change of Ports to pass corporate firewalls?
You can also use RTMPT instead of RTMP and set the port of RTMPT to 80. This can penetrate almost all corporate firewalls. On 4/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, when I installed Red5, I accepted the port settings. but now I realized that most corporate firewalls don't allow the video stream. Where can I change the Port settings? Regards Falk ___ Red5 mailing list 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
Re: [Red5] New video sharing website; A few questions about RED5's ability to match our needs
On 4/23/07, Storm [EMAIL PROTECTED] wrote: 1. Real-times ads: Insert video ads at the beginning, middle or end of each video (without pre-enconding the FLV). Beginning and end shouldn't be a problem, you just play a playlist instead of a single video. The middle part could be an issue since you do not want to preencode, i don't understand how you want to do that...but perhaps you need to stop the video, show your add on top and then restart the original... But anyway this is more a matter of your app logic than red5 capabilities. For the ads clip in the middle, you can use play(someflv, 0, length) and play(someflv, length, length_from_middle_to_end) to plug it in. 2. Count video and advertisement impressions. Youjust...countthem... ? 3. Ability to change ads on-the-fly for all videos from a centralized ads management location. Again this looks like a matter of your own app design/implementation, not something I'd ask a server/framework to do for me. With red5 you've got a streaming/VOD server (and a few more things) how you use it is up to you. Cheers carlos On 4/23/07, Matan Offer [EMAIL PROTECTED] wrote: I'm resubmitting my question from 4 days ago; I hope it's not forbidden.. -- Forwarded message -- From: Matan Offer [EMAIL PROTECTED] Date: Apr 19, 2007 2:05 PM Subject: We're setting up a new video sharing website. A few questions about RED5's ability to match our needs To: Red5@osflash.org Hello everyone. I represent a group that is currently developing a new video sharing website. We have the following requirements for video broadcasting: Advertising : 1. Real-times ads: Insert video ads at the beginning, middle or end of each video (without pre-enconding the FLV). 2. Count video and advertisement impressions. 3. Ability to change ads on-the-fly for all videos from a centralized ads management location. Does RED5 provide me with these capabilities? Any additional information you can provide would be greatly appreciated. Best Regards, Matan Offer. ___ Red5 mailing list 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 -- 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
Re: [Red5] RES: RES: Red5 0.6r2 - Freeze
On 4/18/07, Luiz Filipe [EMAIL PROTECTED] wrote: Hi, Luke how´re doing. I´m sorry didn´t see your email before. Yes, we are testing on Internet. Nowadays our connected uses average is 200, but i´m afraid that this number will decrease fast because Red5 freeze every day. We upgrade to 0.6r3, but it continues to freeze. I was looking red5-core.xml, but i couldn´t find these buffer settings, could you post some examples, please. Locate the bean class: bean class= org.apache.mina.integration.spring.Binding and buffer configuration is there. Thanks in advance, Luiz Filipe. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Luke Hubbard Enviada em: sexta-feira, 13 de abril de 2007 06:09 Para: Red5@osflash.org Assunto: Re: [Red5] RES: Red5 0.6r2 - Freeze If you are stress testing red5 can you add the new properties in red5-core.xml which set the buffer sizes. See the thread on buffering issue. This makes a big difference if you are doing a test over the internet. If your tests are on a local lan, chances are you wont notice any difference. - Luke On 4/14/07, Luiz Filipe [EMAIL PROTECTED] wrote: Hi Joseph, how´re doing. We´ll try to upgrade to 0.6 r3 and then stress the tests. Any news i let you know. Thanks a lot Joseph, Luiz Filipe. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de joseph wamicha Enviada em: quinta-feira, 12 de abril de 2007 23:42 Para: Red5@osflash.org Assunto: Re: [Red5] Red5 0.6r2 - Freeze Hi, I eventually experienced the freezes you were telling me about in a chat application we have developed. The latest release seems to be very stable so far for shared objects. According to this http://jira.red5.org/browse/APPSERVER-41 they have now solved this error. On 4/13/07, Luiz Filipe [EMAIL PROTECTED] wrote: Hey guys, how´re doing. We have a Flash CardGame project based on Red5 in production and we´re using 0.6r2 release. But every day we need to restart the server because Red5 just freeze for any reason and without throws any exception. We are currently with 100 connected users simultaneous, without using video streaming, only audio streaming in some child scopes. I don´t know what is going on, i´m very desperate to solve this problem... Red5 0.6r3 already solved this problem, anyone knows ? Thanks in advance. Luiz Filipe. ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- C is forever. ___ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org -- Luke Hubbard codegent | coding for the people http://www.codegent.com NMA Top 100 Interactive Agencies - Ones to watch! http://www.codegent.com/top100/ want to know more? http://www.codegent.com/showreel/ This e-mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this e-mail, or any part of it, please delete this email and any attachments immediately on receipt. You should not disclose the contents to any other person or take copies. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of codegent limited. ___ 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 -- 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
Re: [Red5] Stream Close
Nomlad, If you want to restrict the duration of a specific stream for recording, you could implement the streamRecordStart() method from IStreamAwareScopeHandler. To achieve this, you just need to implements IStreamAwareScopeHandler in your Application class. The streamRecordStart() method will be called when the recording takes place (the first packet got from client). You might put the IBroadcastStream in a queue and call the IBroadcastStream.close() on timeout. Hope this helps. On 4/17/07, nomIad [EMAIL PROTECTED] wrote: Hey, come on There must be an answer to this problem ;-) indeed... i need it! nomIad schrieb: Hi, Im actually working on a video guest book. So its a simple application but it has a security issue. People can broadcast their videos without limitations. Sure, i limit it in the client, but thats not secure, because its easy to write according clients (guestbooks have only minimal authentication). So i cant restrict the size of the recorded video, so i have to restrict the duration that can be maximal recorded. The best way of doing this is serverside. So i onBroadcastStart i create a new ScheduleOnceJob called StreamKillerJob. The only arguments i have available at this time is the StreamService or the BroadcastStream itself. If i only use the stream itself, it wouldn't be unregistered (according the sourcecode in StreamService). But to unregister it with in the StreamService i need the Stream id. How can i access this Id in the onBroadcastStart? cu nomIad ___ 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 -- 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
Re: [Red5] Red5 0.6r3 its better, but Freeze again - 200 connected users
Luiz, Thanks for reporting. What functions does your application use? On 4/17/07, Luiz Filipe [EMAIL PROTECTED] wrote: Hello guys. Last week we updated our server to Red5 0.6r3, and now we can hold an average of 200 connected users for 40 hours, almost 2 days. But after 40 hours, Red5 stills disconnects. We think that 0.6r3 is much better than 0.6r2 (becase with r2 we got only 6 hours up without freeze), but it still disconnects. Any Idea ? Thanks for any help, Luiz Filipe. ___ Red5 mailing list 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
Re: [Red5] Summary of User Requirement Collection
I've added a new page to wiki to record the result of survey and track new user requirements. http://jira.red5.org/confluence/display/docs/User+Requirement+Survey If you've got new requirements, feel free to comment on that page or edit that page. :-) On 4/10/07, Alexander Zhukov [EMAIL PROTECTED] wrote: On 4/9/07, Manos Batsis [EMAIL PROTECTED] wrote: Alexander Zhukov wrote: BTW, this way configuration can be written in any JVM compatible scripting language as well: groovy, jython, javascript, beanshell etc. I'd suggest commons-configuration for property or XML based conf files. Pretty flexible and easy to use. To transform xml/properties into beans no more otherwise it would be wrapped-xml-as-an-object scenario which should be avoided. To better understand the IoC style configuration and the difference from well known config which came from C world and I think is getting obsolete I invite everybody who has not already done so to read an article by Martin Fowler http://www.martinfowler.com/articles/injection.html Pay special attention to Code or configuration files paragraph ___ 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 -- 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
Re: [Red5] How exact Ping function is?
Take a look at this: http://jira.red5.org/confluence/display/docs/Ping On 4/12/07, Alexey [EMAIL PROTECTED] wrote: I'm trying to metter bandwidth and latency between Red5 and flash client and i get strange results using conn.ping(). How accurate are ping() and getLastPing()? And how does it work? ___ Red5 mailing list 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
Re: [Red5] Streaming from latest Trunk - 1860
Nathan, Is it a regression issue? On 4/13/07, Nathan P. Johansen [EMAIL PROTECTED] wrote: Hi Dan, I think the specific problem with that particular clip of National Treasure has more to do with the way in which it was encoded, rather than any latency issues with streaming it back. Perhaps Lenny can tell us what the bitrate, dimensions, and key frame specifications are for that clip. It may work fine from a local connection, but once you try streaming that much data over the Internet, you're not going to have a smooth playback. -N On Fri, 13 Apr 2007, Dan Rossi wrote: hi it seems the disconnections has something to do with Mina yet again. Check a few threads back there is def an issue i have to set the timeouts to 100. Rodrigo Ordonez Licona wrote: I could not view the whole segment of nationl_treasure using OflaDemo, It disconnected the 3 times we attempted We have DSL 2mbps Down WinXP HTH Rodrigo O *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Lenny Sorey *Sent:* Jueves, 12 de Abril de 2007 03:23 p.m. *To:* Red 5 mail List *Subject:* [Red5] Streaming from latest Trunk - 1860 Hello All, I would like for some of the RED5 user to test the FLVplayer's I currently have running on a test server. I have 5 items on the FLVPlayers including one that I recorded. Streaming of these movies vary from the ones that come with RED5 to a couple I added. One is 162 MB (about 25 to 27 minutes) and the other is 108 MB (which seems like it go on for days).: ) You may notice that some of the movies don't center perfectly in the FLVPlayer. I really just caught this today and will fix later. Would be interested in any feedback regarding anyone viewing these items. http://www.fatdot.com:8080/red5/ Platform: Windows 2000 Professional Tomcat 5.5 Java 1.6 Creative Ultra Webcam. Thanks, Lenny ___ Red5 mailing list [EMAIL PROTECTED] http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list [EMAIL PROTECTED] http://osflash.org/mailman/listinfo/red5_osflash.org ___ Red5 mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://osflash.org/mailman/listinfo/red5_osflash.org