Following Red5 Developer series from Dominick Accattato, and a neat explaination from Red5.org on CustomFilenameGenerator, Here is a ready to use, fully capable pre-compiled Red5 application for anyone who wishes to set up Flash streaming with Red5 , but does not know where to start.
The application is tested on Red5 0.8. to use it in 0.9 you may have to remove the bandwidth-setting code in main Application class and recompile it.
How to configure Stream/Record paths:
1. Edit the file file red5-web.xml in the WEB-INF directory
2. Move down to the “streamFilenameGenerator” bean definition and adjust values of recordPath and playbackPath as you wish.
3. To use absolute paths, set “absolutePath” property as true.
Downloads:
# Update : Customstreamer for Red5 0.9:
Customstreamer_deployable_0.9
CustomStreamer_source_0.9
# Update : Customstreamer for Red5 0.7: – [Updated June 17 2010]
*Try out the new Red5 application generator HERE
Note: To compile source, use eclipse J2ee build.