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:
<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://188.8.131.52/vod/mp4:BigBuckBunny_115k.mov,
hls : http://184.108.40.206/vod/mp4:BigBuckBunny_115k.mov/playlist.m3u8,
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.