Every input of your studio takes RTMPS (encrypted) and RTMP (unencrypted) as well as SRT. It is meant for devices that cannot do SRT: older hardware encoders, action cameras, apps with nothing but a field for a “custom RTMP server”. If your source can do SRT, use SRT.
Where the address is
“Inputs” tab → “Connect source” at the input → “Others” tab → RTMP. The “Single fields” button splits the address into the two fields most encoders ask for:
| Field | Value |
|---|---|
| Server | rtmps://<host>:<port>/live |
| Stream key | the input's stream ID |
| In one piece | rtmps://<host>:<port>/live/<stream-id> |
- Host, port and stream ID are the same as in the input's SRT address.
- If your device cannot do RTMPS, use
rtmp://. The stream key then travels unencrypted. - H.265 over RTMP needs an encoder that does Enhanced RTMP. Encoder values: The right encoder settings.
Setting up OBS over RTMP
- Open
Settings → Stream, serviceCustom…. Server:rtmps://<host>:<port>/live.Stream Key: the input's stream ID.- Click
Start Streaming.
The input jumps to “Connected” and the picture appears on the desk. For SRT from OBS the dialog has an “OBS” tab.
One input, one source
- If a source already sends over SRT, the input refuses RTMP, and the other way round.
- A second RTMP sender with the same stream key is refused while the first one sends.
- If the first one has been silent for a second (a phone in a dead spot, say), the new one gets in at once.
Why SRT is better
- On a shaky link RTMP loses nothing but arrives later and later, until the connection breaks. SRT rides out a short dead spot.
- The automatic fallback scene recognizes a bad RTMP link by its falling bitrate only.
- On a cable or on stable Wi-Fi you notice none of this.
If no picture arrives
| What you see | What you do |
|---|---|
| Stream key invalid or refused | Check the stream key character by character. Or the input already has a source: stop it or use another input. |
rtmps:// does not connect, rtmp:// does |
Your device cannot do RTMPS. Use rtmp://. |
| Connected, but no picture | With H.265 the encoder needs Enhanced RTMP; otherwise switch to H.264. Then see No picture in the studio. |
| The picture falls further and further behind | Lower the bitrate or use SRT. |