How to Live Stream Using RTMP Red5?

How to Live Stream Using RTMP Red5?

Explanation

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.

https://www.hdwplayer.com/standalone/web-video-player-installation/
RTMP Live Streaming Code:

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

</head>
<body>

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

<script>
hdwplayer({
id : player,
swf : player/player.swf,
width : 705,
height : 400,
type : rtmp,
streamer : rtmp://youripaddress/yourstreamname,
video : bunny.flv,
rtsp : rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov,
hls : http://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov/playlist.m3u8,
autoStart : true
});
</script>

</body>
</html>
NOTE:
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.
https://www.hioxindia.com/faq/domain-hosting/Install-Flash-Media-Encoder.php