- 20 Aug 2023
- 1 Minute to read
- DarkLight
- PDF
Input with RTMP or SRT protocols
- Updated on 20 Aug 2023
- 1 Minute to read
- DarkLight
- PDF
Our platform allows sending either the primary or secondary (or both) contribution streams via the RTMP
or SRT
protocols instead of icecast
. This allows easier integration with third-party tools and platforms, especially when repurposing video streams into audio-only broadcasts. Both of these protocols are popular in video stream delivery workflows.
Get RTMP or SRT contribution URLs
To start sending audio using these formats, visit the stream page and under the "Setup" section of the admin panel, look for the "Alternative inputs" section. Use the the "Copy to clipboard" functionality to get the stream URL to use.
Example URL structure:
- RTMP URL:
rtmp://<yourip>:1935/<stream-id>_primary
- SRT URL:
srt://<yourip>:9998?mode=caller&passphrase=<yourpassword>
RTMP
The Real Time Messaging Protocol is the most mature and widely used protocol for delivering video over the internet.
Example: setup RTMP input with Restream.io
- Choose "Add Channel"
- Choose "Custom RTMP"
- Use the RTMP URL copied from the stream dashboard.
- For "Stream key" use the "Password" from the "Input Settings" section.
- Leave "Use Authentication" disabled.
Example: setup RTMP input with OBS
- Under "Settings / "Stream" choose "Custom..." service.
- Use the RTMP URL copied from the dashboard as "Server"
- For "Stream key" use the "Password" from the "Input Settings" section.
- Leave "Use Authentication" disabled.
Input audio must be AAC
with a sample rate of 44,100kHz
.
Troubleshooting RTMP
Service fails to connect. Ensure the "URL" is correctly copied from the dashboard.
Service connects but no audio being received. Ensure the "Source key" setting is set correctly to the password.
SRT
The Secure Reliable Transport protocol is designed to deliver low-latency audio/video streams over public and private networks.
Example: setup SRT input with OBS
- Under "Settings / "Stream" choose "Custom..." service.
- Use the SRT URL copied from the dashboard as "Server"
- Leave "Stream Key" empty and "Use authentication disabled.
OBS does not support audio-only streams at this point, and will require a minimum of 200k video data to be sent along with the audio stream.