1. First go to Red5 Downloads Page and download the latest version for your server platform.
http://www.osflash.org/red5/red5downloads
2. A good tutorial on installing Red5 on Windows is available here.
http://www.flashextensions.com/freevideo.php?id_art=190
To get to the correct article, find the navigation bar at the bottom of the page, and click to page 2. Click on the button for Red5 Flash Media Server.
3. Find the file "red5.properties". /serverRoot/Red5/conf/red5.properties Change the http.host line to read:
- Code: Select all
http.host = your.server.com
Here is an example properties file:
# HTTP
http.host = your.server.com
http.port = 5080
# RTMP
rtmp.host = your.server.com
rtmp.port = 1935
rtmp.event_threads_core=16
rtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=-1
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
# RTMPT
rtmpt.host = your.server.com
rtmpt.port = 8088
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
# Debug proxy (needs to be activated in red5-core.xml)
proxy.source_host=0.0.0.0
proxy.source_port=1936
proxy.destination_host=your.server.com
proxy.destination_port=80
More info about code : http://thedesignspace.net/MT2archives/000431.html
5. To stream a video, just put the FLV video file into any of the streams directories in any one of the webapps. For example: /Red5/webapps/oneOfTheApps/streams/yourVideo.flv To change the location of the streams directory - http://www.joachim-bauch.de/tutorials/r ... tories.txt,
Find How to use a custom location for the streams directory here http://www.joachim-bauch.de/tutorials/r ... tories.txt
Access the stream by using a flash based video player. A minimal example is available for download: Download Attached example player file (Flash FLA format) The relevant actionscript is in frame1 of the main timeline.
courtesy: knol.google.com
