Rtmp Server

This article describes how to setup a RTMP streaming server on Windows. The streaming server can then be used to stream from multiple sources, such as multiple GoPro Hero cameras.

A Node.js implementation of RTMP Server. Supports only RTMP protocol. Supports only H.264 video and AAC audio. Anymix Media Server. Anymix Media Server is a free (as in 'free speech' and also as in 'free beer') Flash Media Server (FMS) or rtmp stremming server. Running in the MS Windows environment. How to install: From the zip: just unzip all the files into a directory you want then launch it. Its a portable and little FMS. Originally, RTMP was used to transmit content between a video player and a hosting server, which was referred to as “RTMP delivery.” Today, its purpose is a bit different. In terms of the most modern live streaming setups, RTMP’s primary role is to deliver content from an encoder to an online video host. RTMP Server is the leading provider of Managed RTMP Servers. With RTMP Server selection you can have your wowza rtmp, adobe media or red5 ready in a few minutes.

Prerequisits

  • Microsoft Windows 7/8/10.
  • If you want to stream using GoPro cameras:
    • Live Streamer for GoPro Heros.
    • Bluetooth 4 BLE.
    • Windows 10 (1706 or later)

Download the RTMP server from here (~2MB) and extract the zip file. Then double click on the “monaserver.exe”. A command prompt should pop up:

The RTMP server is now ready for receiving streams. The RTMP url looks like this (the IP address has to be replaced with your IP address):

Replace “key” with some number. Each “key” represents a new video stream. For instance, the following two urls represent two live streams:

You can use the Live Streamer for GoPro Heros appif you want to live stream from GoPro cameras to the RTMP server.

The whole installation process is also shown in this video:

Rtmp server windows

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.

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:

Rtmp

Restart Windows after installation completed:

Rtmp Server Windows 10

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

Rtmp server linux

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.

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

Enjoy!