Technical details for RTMP streams

There are a number of popular software encoders that you can use with Arena. Hardware encoders that allow for custom RTMP server configuration have similar settings. This guide details how to configure a few common issues.

Overview / configuration term glossary

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

  • Server URL - This is the URL of the Arena RTMP server, as listed in the table below.
  • Stream Key - The Stream Key is essentially used to authenticate your live stream with theArena RTMP server. This is your secret key to live streaming. Arena does not use additional authentication.

RTMP Server URL Description Common Applications
rtmp://stream.hirespace.com:5222/app Arena's standard RTMP entry point. Compatible with the majority of streaming applications and services Open Source RTMP SDKs, most app-store streaming applications
rtmps://stream.hirespace.com:443/app Arena's secure RTMPS entry point. Compatible with fewer 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:

  • Stream Name - A common alias and the technically correct term (in the RTMP specification) for Stream Key.
  • Location or URL - Many times, broadcast software that just asks for a location or a URL wants a combination of the Stream URL and the Stream Key like rtmp://stream.hirespace.com:5222/app/{STREAM_KEY}. If location or URL are asked for with a stream name/key, then this is an alias for Server URL.
  • FMS URL - Flash Media Server URL, an alias for Server URL.

Arena'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 arena-support@hirespace.com with your encoder details.

Recommended encoder settings

Twitch has a clear and concise guide to 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

  • Video Codec - H.264 (Main Profile)
  • Audio Codec - AAC

Great - 1080p 30fps

  • Bitrate - 5000 kbps
  • Keyframe Interval - 2 seconds

Good - 720p 30fps

  • Bitrate - 3500 kbps
  • Keyframe Interval - 2 seconds

Works - 480p 30fps

  • Bitrate - 1000 kbps
  • Keyframe Interval - 5 seconds 

Important

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.

Software encoders

Any encoder that supports RTMP should work with Arena.

Hardware encoders

Any encoder that supports RTMP should work with Arena.