Back To Top

 Set Up an RTMP Server on Home windows, Linux, and Mac
July 2, 2022

Set Up an RTMP Server on Home windows, Linux, and Mac

  • 0

RTMP server software program permits you to take an incoming Actual-Time Messaging Protocol (RTMP) dwell video stream from an encoder, and transmux it right into a playback protocol like HTTP Reside Streaming (HLS) for viewing. Whereas there are media server providers on the market which might do that for you, utilizing your individual RTMP server software program offers you the liberty and management to change and configure your setup as wanted.


Why Do You Want an RTMP Server for Reside Streaming?

A distinct protocol is usually used for ingest and supply to hurry up the journey from the digicam display to the end-user system — whereas additionally optimizing the viewing expertise. That’s why content material distributors use a media server software program or service to transform the dwell feed from one protocol to a different.

RTMP is nice for environment friendly video contribution, nevertheless it not is sensible on the publishing finish of a workflow. Fairly, most content material distributors use a media server to repackage their stream into an HTTP-based protocol like HLS for supply to finish customers. Whether or not the RTMP stream is coming from an IP digicam, cellular app, or broadcast-grade encoder, Wowza’s dwell streaming platform makes the conversion and supply course of seamless.

Robert Gibb at StackPath writes:

“A media server is an absolute necessity if you wish to leverage RTMP for dwell streaming. Wowza Streaming Engine, for instance, is a broadly used streaming software program for dwell and on-demand video that may be put in on any server.”


Tutorial: Set Up Wowza Streaming Engine as an RTMP Server

Wowza Streaming Engine is the RTMP server of selection. Simply customizable and primary in reliability. Wowza Streaming Engine runs on Home windows, Linux, and Mac — though the latter does have lowered performance.

All of the installers might be discovered on the Downloads web page of and also you’ll must buy a license to be used. The set up course of is an identical on all working techniques: execute the installer, settle for the license settlement, enter the license key, create a username and password for Wowza Streaming Engine, select to have it begin up manually vs. robotically, choose the place it must be put in, after which let the set up run.

Variations might embody the necessity to run as an administrator, or, you probably have an outdated set up of Wowza Streaming Engine nonetheless on the system, selecting which model you need to activate. Additionally, as I discussed, the Mac model has a number of limitations, corresponding to with transcoder capabilities. Because of this, I strongly suggest operating on Home windows or Linux with a static IP tackle. With no static IP tackle, your server can’t be discovered for playback exterior of your native community.

For simple installations, you’ll find Wowza Streaming Engine on the AWS market for EC2, Microsoft Azure, Alibaba Cloud, Google Cloud Platform, and Rackspace.

As soon as put in, use the IP tackle of the pc or your static IP tackle with port 8088. It will take you to the Wowza Streaming Engine Supervisor. You possibly can Skip the intro and simply use the username and password you created through the set up to sign up.

One of many first issues you could need to do below Server is about up Supply Authentication for safety. By including a supply, you may guarantee solely streams you belief can join. Nonetheless, in case you’re not involved, or simply streaming on a neighborhood community, you may at all times flip it off. That’s executed straight from the applying.

When creating your first utility in your first dwell stream, you do have the choice to arrange edge servers in addition to load balancing for higher scaling. In spite of everything, many corporations use Wowza Streaming Engine to create their very own content material supply networks (CDN). However Single Server might be the place you’ll need to get began, naming it appropriately with out complicated areas.

With the applying created, you’ll need to make a couple of speedy modifications. For instance, if you’ll solely be utilizing HLS playback, you may uncheck all the opposite playback varieties so processing energy received’t be wasted transmuxing. Additionally, if you wish to deliver down the latency from the traditional 30-45 all the way down to 9-12 seconds, verify Low-Latency Stream. You too can auto report the streams, cross-origin useful resource share, change the listing they’ll be saved, arrange Closed Captions, and restrict the variety of viewers. Whenever you’re executed making your modifications, you’ll want to Save.

As I discussed, you too can go to Supply Safety after which Edit your settings for RTMP Sources so it’s Open and no authentication is required. Once more, that’s as much as you. Don’t overlook, as soon as once more, that any modifications would require you to restart.

For these trying to scale with a CDN, that is executed below Stream Targets. Whereas there are a number of options out there, Wowza does provide the Wowza CDN so that you can use. When you have just a few viewers and aren’t able to scale up, that’s okay.

To start out streaming, your encoder will ask for a server, steam key, and authentication. From Sources Reside, you will get this and a few fast choices for particular {hardware}. We’re going to skip the authentication since we’ve turned it off. Whilst you can select the stream key title that you really want, the server shall be rtmp:// your IP ADDRESS (being that static or native) :1935/utility title. That’s it.

If it’s correctly related you’ll see it below Incoming Streams. You possibly can choose it, after which Take a look at Playback to view the stream. If HLS is the one playback choice you’ve got for the applying, copy the URL and take a look at taking part in it again on choices that assist HLS. If that is simply on the native community, you’ll want to make use of one thing like VLC Participant to confirm the stream is working. In case you do have a static IP tackle, you should utilize industrial gamers like THEOPlayer to confirm playback, though I’d advise you to arrange a full account for each testing and implementation.

Alright, that’s it for organising an RTMP streaming server like Wowza Streaming Engine and operating a dwell stream. For extra help with dwell video streaming, you may at all times contact us at Wowza.


Begin Streaming

Free Trial

Further Assets:

  • RTMP Streaming: The Actual-Time Streaming Protocol Defined
  • Greatest Encoding Software program for Reside Streaming
  • Reside Streaming Gear Setup: Create a Studio on the Low-cost

About Justin Miller

Justin Okay. Miller is the video and webinar producer at Wowza Media Techniques. He’s chargeable for each the dwell and recorded productions made to coach, practice, and inform prospects and dwell video streaming lovers. When not centered on the numerous… View extra

Prev Post

What Is WebRTC | Interactive Actual-Time Streaming

Next Post

Video: HTTP Dwell Streaming (HLS) Tutorial


Leave a Comment

Related post