How to Stream to a Private RTMPS Server in OBS
Streaming to a private server using the Real-Time Messaging Protocol over SSL (RTMPS) ensures your live broadcast remains encrypted and secure from interception. This guide provides a direct, step-by-step walkthrough on how to configure OBS Studio to connect to your custom, private RTMPS server. You will learn how to locate your stream credentials, input them into OBS Studio, and successfully initiate a secure broadcast.
Step 1: Gather Your RTMPS Server Credentials
Before configuring OBS Studio, you need two key pieces of information from your private streaming server host or administrator:
- RTMPS Server URL: This is the destination address
of your server. It must begin with
rtmps://instead of the standard, unencryptedrtmp://. It typically looks likertmps://yourdomain.com:443/liveorrtmps://server-ip/app. - Stream Key: This is a unique, private alphanumeric code that authorizes your OBS client to push video to the server. Keep this key confidential.
Step 2: Configure Stream Settings in OBS Studio
Once you have your credentials, open OBS Studio and follow these steps:
- Click on Settings in the bottom-right control panel, or go to File > Settings in the top menu.
- In the Settings window, click on the Stream tab in the left-hand sidebar.
- Locate the Service dropdown menu and select Custom… (this allows you to enter a private server address).
- In the Server field, paste your full
rtmps://URL. - In the Stream Key field, paste your private stream key.
- Click Apply and then OK to save your changes.
Step 3: Verify Port and Encryption Settings
RTMPS requires SSL/TLS encryption, which standard RTMP does not. If your private server has strict security protocols, ensure your network allows traffic over the secure port utilized by RTMPS:
- Port 443: RTMPS almost always uses port 443 (the
standard port for secure HTTPS web traffic). If your server URL does not
explicitly end with a port number (e.g.,
:443), OBS will default to this secure port automatically when using thertmps://prefix. - Firewall Rules: Ensure your local firewall or router does not block outgoing TCP traffic on port 443.
Step 4: Test the Connection
- Click the Start Streaming button in the main OBS Studio window.
- Monitor the status bar at the bottom right of the OBS window.
- If the connection is successful, you will see a green square indicating a stable connection, along with your current bitrate and 0% dropped frames.
- If you receive a connection error, double-check that your server URL
begins with
rtmps://and that your stream key has no trailing spaces.