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:

  1. RTMPS Server URL: This is the destination address of your server. It must begin with rtmps:// instead of the standard, unencrypted rtmp://. It typically looks like rtmps://yourdomain.com:443/live or rtmps://server-ip/app.
  2. 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:

  1. Click on Settings in the bottom-right control panel, or go to File > Settings in the top menu.
  2. In the Settings window, click on the Stream tab in the left-hand sidebar.
  3. Locate the Service dropdown menu and select Custom… (this allows you to enter a private server address).
  4. In the Server field, paste your full rtmps:// URL.
  5. In the Stream Key field, paste your private stream key.
  6. 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:

Step 4: Test the Connection

  1. Click the Start Streaming button in the main OBS Studio window.
  2. Monitor the status bar at the bottom right of the OBS window.
  3. If the connection is successful, you will see a green square indicating a stable connection, along with your current bitrate and 0% dropped frames.
  4. If you receive a connection error, double-check that your server URL begins with rtmps:// and that your stream key has no trailing spaces.