How to Stream with RTMPS Custom Port in OBS Studio

This guide provides a straightforward, step-by-step tutorial on how to configure OBS Studio for streaming to platforms that require a secure RTMPS connection utilizing a non-standard or custom port. You will learn how to bypass OBS’s default port limitations by correctly formatting the custom RTMP server URL in your stream settings.

Step 1: Access Stream Settings in OBS Studio

  1. Open OBS Studio on your computer.
  2. Click on Settings in the bottom-right “Controls” dock, or go to File > Settings from the top menu.
  3. In the Settings window, click on the Stream tab in the left-hand sidebar.

Step 2: Configure a Custom Service

By default, OBS uses standard pre-configured profiles for popular streaming platforms. To use a custom port and RTMPS, you must manually define the connection parameters.

  1. Locate the Service dropdown menu.
  2. Click the dropdown and select Custom…. This action will reveal two input fields: Server and Stream Key.

Step 3: Format the RTMPS URL with the Custom Port

To connect via RTMPS using a custom port, you must combine the protocol, the server address, the custom port number, and the path into a single URL inside the Server field.

Use the following syntax: rtmps://[server-address]:[port]/[application-path]

Example Configuration:

If your streaming platform provides the following details: * Protocol: RTMPS * Server Address: live-upload.platform.com * Port: 1936 * Application Path: live (or sometimes /live2/)

You should enter this exact string into the Server field: rtmps://live-upload.platform.com:1936/live

Note: Do not include the trailing slash or the stream key in the Server field.

Step 4: Enter Your Stream Key and Save

  1. Copy your unique stream key from your streaming platform’s dashboard.
  2. Paste it directly into the Stream Key field in OBS Studio.
  3. Click Apply in the bottom right corner, and then click OK to close the settings window.

Your OBS Studio is now configured to route your secure RTMPS stream through your designated custom port. Click Start Streaming in the main OBS window to initiate the connection.