Using a Generic RTMPS setup to stream to Mux is a little different than a standard RTMP stream. This article will provide step-by-step instructions to set up your Mux stream using Generic RTMP with a persistent stream key.
Table of Contents
What You Need
- Mux account (Sign up here)
- Videon device with Generic RTMP output capability
- Stable internet connection
How to Stream to Mux Using Generic RTMP
Step 1: Create a Live Stream in Mux
- Log in to your Mux account.
- Go to Video > Live Streams.
- Click Create new live stream. If you don’t have any live stream on Mux, it would be Create your first live stream. Check this article for details on creating a live stream.
- After sending POST request to the /live-streams end point following instructions in the article linked above, you will receive a response including a Playback ID and a Stream Key. Copy the Stream Key —you’ll need it in the next step.
Step 2: Set Up Your Videon Device
- Open the Videon Web UI or LiveEdge Cloud in your browser.
- If you are on the Web UI, navigate to Encoder Control > Outputs. If you are on LiveEdge Cloud, go to your device under Devices → All devices tab in the left, then select Configuration > Outputs.
- Select an existing RTMP output profile, or create one using “Add Profile“ (Web UI) or “Create Output“ (LiveEdge Cloud), then select RTMP.
- Under Streaming Provider, select Generic RTMP.
- Set the Stream URL.
For RTMP protocol, set the URL to:rtmp://global-live.mux.com:5222/app/<stream_key>
For RTMPS protocol, set the URL to:rtmps://global-live.mux.com:443/app/<stream_key>
- Ensure RTMP output is enabled.
- Click Save.
Step 3: Start Streaming
- Toggle on the RTMP output.
- Click Save.
- Check that the status updates to Streaming.
- In your Mux Dashboard, confirm that the stream is Active.
Step 4: Watch Your Stream
- To view your live stream, go to Video > Live Streams in Mux.
- Click your active stream to access the playback URL.
- Open the URL in an HLS-compatible player like HLS.js or TheoPlayer.
- Verify video and audio quality.
Troubleshooting
Common Issues & Fixes
| Issue | Cause | Solution |
| Error connecting to server | Incorrect RTMP URL or Stream Key | Double-check and re-enter RTMP URL and Stream Key |
| Status: Pending... | Stream establishing to Mux | Refresh your browser and make sure Generic RTMP output is enabled |
Need Help?
If you run into any issues, check out the Mux Documentation or reach out to Videon Support.