How to Live Stream Using RTMP Red5?

How to Live Stream Using RTMP Red5?


What is RTMP?
Real-Time Messaging Protocol (RTMP): It is a protocol originally developed for high-performance transmission of audio, video, and data through the Internet. Since RTMP provides the facility to stream to various platforms, so with this protocol you can create a very big audience base for your live streams.
HDW Player Installation:
HDW player is a full-length video player for publishing your videos. With this, you can also stream your live events. Use the below link to download and install the HDW player.
RTMP Live Streaming Code:

<title>Sample Integration</title>
<script src="player/js/majhdwplayer.js"></script>
<script src="player/js/html5.hdwplayer.js"></script>


<div id="player" class="hdwhtml5player" style="height:360px; width:640px;"></div>

id : player,
swf : player/player.swf,
width : 705,
height : 400,
type : rtmp,
streamer : rtmp://youripaddress/yourstreamname,
video : bunny.flv,
rtsp : rtsp://,
hls :,
autoStart : true

In the above code, replace "streamer :rtmp://youripaddress/yourstreamname," with your unique IP address and stream name.
Flash Media Encoder:
Flash Media Live Encoder is a live encoding software product which you can use to live videos and archive FLV or F4V file locally. Use the below link to download and install the Flash Media Live Encoder.