In this post we will show how Niostreamer can be installed in Windows. We will setup RTMP server, push MP4 video using ffmpeg and play in with ffplay.

Nginx RTMP is an Nginx module which allows you to add RTMP and HLS streaming to your media server. Previously, the RTMP and HLS modules were seperate Nginx modules, but they can now all be added to Nginx as a single module. An RTMP server is the technical setup that is used to receive an RTMP data stream via RTMP ingest. Basically, an RTMP server is equipped with the necessary tools to receive and decode video files that are being transported from an encoder or other source. In this post we will show how Niostreamer can be installed in Windows. We will setup RTMP server, push MP4 video using ffmpeg and play in with ffplay. Niostreamer is provided for multiple operating systems. It's cross platform. For now, the native package for Windows is in progress, so we will use Docker to run Niostreamer on Windows.

Server implementation of Adobe's RTMP 1.0 protocol in Go. Streaming Room ⭐ 116. Streaming room in Node.js, rtmp, hsl, html5 videojs player. Docker Multistreamer ⭐ 90. Dockerized multistreamer. Mirror RTMP streaming server written in Rust. 1 - 15 of 15 projects.

Rtmp Server

Niostreamer is provided for multiple operating systems. It's cross platform. For now, the native package for Windows is in progress, so we will use Docker to run Niostreamer on Windows.

First, Docker for desktop should be installed from official website

Download the Installer from here: https://desktop.docker.com/win/stable/amd64/Docker Desktop Installer.exe

Follow the steps provided by insteller to prepare Docker for Desktop:

Restart Windows after installation completed:

Create docker-compose.yml with the following content:

Run

You will see message in logs:

Register new account in https://niostreamer.com and open this link in you browser

You will see in logs that instance has been registered:

And then you will see the new instance in web panel as well:

Now Niostreamer is ready to accept incoming connections from RTMP clients.

Create RTMP virtual host

In instance overview page press 'Add Virtual Host' button

Enter virtual host and port and press 'Save'

To start virtual host the listener interface must be created. Open Virtual host page and press 'Add Listener'

Enter listening address and port and press 'Add'

Wait a little bit until instance is syncronized with control panel. You'll see the virtual host is started in streamer logs:

Niostreamer has opened TCP port 1935 and is ready to listen for incoming connections.

As a test stream we will use command line utility ffmpeg. We will try to stream popular video sample used to test video streams called 'Big Buck Bunny'.

Start the command from your machine:

Streaming is started now. niostreamer started to receive audio video data. Let's play incoming stream using ffplay utility:

You will see video window playing the target sample.

Rtmp Server

Niostreamer is a fully functional streaming server. It can convert incoming RTMP streams to other ones, i.e. HLS.

In next articles we will show how to stream RTMP to niostreamer and the share it as HLS to other players.

Rtmp Server Twitch

Enjoy!