Configuring your broadcast software for RTMP streams | Mux

Configure Broadcast Software

Set up OBS, Streamlabs, Wirecast, and other encoders to send RTMP to Mux. Use this guide when you stream from broadcast software or a hardware encoder.

Broadcast software sends your live video to Mux over the RTMP protocol. Use this guide when you set up an encoder such as OBS, Streamlabs, or Wirecast to push a live stream to Mux. It explains common configuration terms and shows the recommended settings for each encoder.

To stream with OBS or another encoder, you first need a live stream and its Stream Key. Create a live stream and get a stream key.

Overview / configuration term glossary

Most broadcasting software uses some standard set of terms. Mux has chosen a set of terms that are very commonly used.

RTMP Server URL Description Common Applications
rtmp://global-live.mux.com:5222/app Mux's standard RTMP entry point. Compatible with the majority of streaming applications and services Open Source RTMP SDKs, most app-store streaming applications
rtmps://global-live.mux.com:443/app Mux's secure RTMPS entry point. Compatible with less streaming applications, but offers a higher level of security OBS, Wirecast, Streamaxia RTMP SDKs

Here is a list of other terms that we have heard:

Mux's RTMP server URL uses port number 5222 and not the standard RTMP port number 1935. If your encoder does not provide a method to change the port number, please contact support with your encoder details.

Recommended encoder settings

Twitch has a clear and concise guide to broadcast encoder settings. YouTube has a bit more detailed guide as well. Here's a very simple recommendation of where to start, but we do recommend playing with your settings to see what works best for your content:

Common

Great - 1080p 30fps

Good - 720p 30fps

Works - 480p 30fps

You should also consider your available upload bandwidth when choosing an encoder bitrate. For a more reliable connection, we recommend using no more than ~50% of the available upload bandwidth for your live stream ingest.

Alternate ingest protocols

Mux Video also supports Secure Reliable Transport (SRT) for receiving live streams.

Available Ingest URLs

Mux's regional ingest URLs let you manually select your ingest region. This may be useful if you notice DNS is not routing your traffic efficiently, or if you would like to manage your own failover process.

Region RTMP Ingest URL SRT Ingest URL
Global (Auto-Select) rtmp://global-live.mux.com/app srt://global-live.mux.com:6001?streamid={STREAM_KEY}&passphrase={SRT_PASSPHRASE}
U.S. East rtmp://us-east.live.mux.com/app srt://us-east.live.mux.com:6001?streamid={STREAM_KEY}&passphrase={SRT_PASSPHRASE}
U.S. West rtmp://us-west.live.mux.com/app srt://us-west.live.mux.com:6001?streamid={STREAM_KEY}&passphrase={SRT_PASSPHRASE}
Europe rtmp://eu-west.live.mux.com/app srt://eu-west.live.mux.com:6001?streamid={STREAM_KEY}&passphrase={SRT_PASSPHRASE}

All of these RTMP URLs support RTMPS.

Choosing the right ingest URL

Using regional ingest URLs in OBS

To set up OBS for live streaming:

  1. Go to: Settings → Stream
  2. Select "Custom..." as the service
  3. Enter the Ingest URL based on your preferred region

rtmps://us-east.live.mux.com/app

  1. Enter your Stream Key (from the Live Stream you created). Create a live stream and get a stream key if you do not have one yet.
  2. Click "Start Streaming"

Building your SRT URL

Note: Before you use a SRT URL, make sure your encoder supports SRT Caller mode.

The SRT URL is composed of three parts.

  1. The protocol and host: srt://us-east.live.mux.com:6001
  2. A streamid query parameter
  3. A passphrase query parameter

Here's an example:


For more information on SRT, check out our Use SRT to live stream docs.

Software encoders

Any encoder that supports RTMP should work with Mux Video.

Hardware encoders

Any encoder that supports RTMP should work with Mux Video.

Mobile devices (iOS, Android)

If you just want a pre-built iOS application you can stream from, check out our write-up here.

If you want to build your own application, check out this documentation.