> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.xsplit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Setting Up Custom RTMP for Different Platforms

The Custom RTMP broadcast output allows you to connect to other streaming services using the stream URL and stream key.

* [ **Setting up Custom RTMP for Facebook Live** ](#2-setting-up-custom-rtmp-for-facebook-live)
* [ **Setting up Custom RTMP for YouTube Live** ](#2-setting-up-custom-rtmp-for-youtube-live)
* [ **Setting up Custom RTMP for Twitch** ](#2-setting-up-custom-rtmp-for-twitch)
* [ **Setting up Custom RTMP for other platforms** ](#2-setting-up-custom-rtmp-for-other-platforms)

---

## Setting up Custom RTMP for Facebook Live

While you can already use XSplit Broadcaster to connect to Facebook Live directly, you may optionally want to use Custom RTMP to connect instead.

This guide shows you how to obtain the Stream Name and Stream URL from Facebook Live as well as set up the Custom RTMP account on XSplit Broadcaster.

### Obtaining the RTMP URL and Stream Name

1. Login to [Facebook](https://www.facebook.com/).
2. Open the [Facebook Live Producer Page.](https://www.facebook.com/live/producer/).
3. Click **Go Live**.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-01-03_6rperb.png)
4. Select **Streaming software** as a video source.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-01-04_bnxwgz.png)
5. Click on **Advanced Settings** *Streaming software setup*.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-01-05_agjrfe.png)

Now, you'll see your **Stream Key** and **Server URL**. Keep these handy. Remember to treat your Stream Key as confidential.

### Setting up Custom RTMP

1. Open **XSplit Broadcaster**.
2. Navigate to **Broadcast** > **Set up a new output** > **Custom RTMP**.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-02-02_5w30ph.png)
3. Fill in:
* **Name**: Any descriptive name.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-02-03-name_u6wsd7.png)
* **RTMP URL**: Paste the **Server URL** from __Facebook__.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-02-03-url_xztpqd.png)
* **Stream Key**: Paste the **Stream Key** from __Facebook__.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-02-03-key_1j8powd.png)
4. Adjust other settings as needed, then click **OK**.

| **Tip**: Facebook's Stream Key is temporary. For consistent streaming, enable Persistent stream key in Facebook.

### Going Live

1. *In XSplit Broadcaster*, select **Broadcast** and choose your **Custom RTMP output*.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-03-01_1x8ybo6.png)
2. Return to the __Facebook Live Producer page__, clicking on _ **What's your live video about?** _ then fill in the **Title** and **Description**.
![](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-03-02_1r03mqx.png)
3. Click **Go live** to start streaming!
![Go Live!](https://storage.crisp.chat/users/helpdesk/website/567507547fcdcc00/facebook-rtmp-03-04_1dstw5k.png)

---

## Setting up Custom RTMP for YouTube Live

While you can already use XSplit Broadcaster to connect to YouTube Live directly, you may optionally want to use Custom RTMP to connect instead.

This guide shows you how to obtain the Stream Key and Stream URL from YouTube Live as well as set up the Custom RTMP plugin on XSplit Broadcaster.

### Obtaining the RTMP URL and Stream Name

[Click here for detailed instructions on setting up and obtaining your Stream Key and Stream URL for YouTube Live.](/en/article/youtube-live-stream-credentials-stream-url-and-stream-name-1v06wea/)

### Setting up Custom RTMP

1. Click on **Broadcast > Set up new output > Custom RTMP**

![Broadcast > Set up a new output > Custom RTMP highlighted](https://cdn4.xsplit.com/helpdesk/images/i/o/323576817/ae959c0bb5cc1c6a5cafbdb1/Youtube-RTMP-Setup-Output-1.png)

2. Enter the *Stream URL* and *Stream Key* from YouTube into the Stream URL and Stream Key field respectively.

![Custom RTMP properties with YouTube RTMP settings](https://cdn4.xsplit.com/helpdesk/images/i/o/323577214/d79242cc3eade6db7bd18d4c/Youtube-RTMP-Setup-Output-2.gif)

3. The Name field is also required. This way, you can easily distinguish your output on the Broadcast menu list.

4. Click **OK** and you should now be able to access this as an output under **Broadcast** and start your stream directly.

![Broadcast > Highlighting the YouTube custom RTMP output you have just created](https://cdn4.xsplit.com/helpdesk/images/i/o/323577505/c5b46017eff68f3e6c661709/Youtube-RTMP-Setup-Output-3.png)

---

## Setting up Custom RTMP for Twitch

Although it is already possible to stream to Twitch directly through our Twitch Live Plugin, it is possible to run an RTMP stream as well as an extra option or back up.

### Obtaining the RTMP URL and Stream Key

1. On the [Twitch Webpage](https://www.twitch.tv/), click on your *Profile Icon* and select **Creator Dashboard**.

![Clicking the creator Dashboard from Twitch's website](https://cdn4.xsplit.com/helpdesk/images/i/o/362769591/29f48c71ad443a90ba793bb3/Twitch+RTMP+01.png)

2. Show the **Navigation bar** by clicking the icon next to **Home**.

3. Click on **Preferences > Stream** and copy the **Primary Stream key** shown.

![Clicking the Menu > Preferences > Channel](https://cdn4.xsplit.com/helpdesk/images/i/o/362770137/8228f2b429dc5151e5f7046e/Twitch+RTMP+02.gif)

4. Your **Stream URL** for twitch is always be: `rtmp://live.twitch.tv/app/`

### Setting up the Custom RTMP Output

1. Click on **Broadcast > Set up a New Output** and select **Custom RTMP**.

![Broadcast > set up a new output > Custom RTMP highlighted](https://cdn4.xsplit.com/helpdesk/images/i/o/362771686/3c50911b50fe571f5ffd01b2/Twitch+RTMP+03.png)

2. Enter the **RTMP URL** and **Stream Key** on their respective fields.

![Custom RTMP Properties showing Twitch RTMP settings](https://cdn4.xsplit.com/helpdesk/images/i/o/362772003/3f5e6449a641425edaef7f7d/Twitch+RTMP+04.gif)

3. A **Name** for your RTMP output is required. This way, you can identify each RTMP output when you have more than one Custom RTMP output.

  
4. Click **OK** and you should be able to access these as an output under **Broadcast** and start your stream directly.

![Broadcast > highlighting the Twitch Custom RTMP output you have just created](https://cdn4.xsplit.com/helpdesk/images/i/o/362772846/65dba2fdf35dd89f92296bd8/Twitch+RTMP+05.png)

---

## Setting up Custom RTMP for other platforms

1. Go to **Broadcast** *>* **Set up a new output**, then click **Custom RTMP**. The Custom RTMP broadcast properties will appear.

![Broadcast > Set up a new output > Custom RTMP highlighted](https://cdn4.xsplit.com/helpdesk/images/i/o/323988565/6108b77044e4de531df6be68/001.png)

2. Enter your **RTMP URL (or Stream URL)** and your **Stream Key**. The ID can be gathered from the channel you are streaming to.

If your channel only provides one long URL, the *Stream Key* may be provided at the URL's suffix. In this case, remove the *Stream Key* from the URL and enter it into the Stream Key field.

![Custom RTMP Properties showing general RTMP information being added](https://cdn4.xsplit.com/helpdesk/images/i/o/323988607/fbd26eb10247cd84724b162a/002.GIF)

3. Click **OK** to save the settings.

### Starting a Custom RTMP broadcast

1. Go to **Broadcast** and click the Custom RTMP output you have created.

![Broadcast > highlighting the RTMP output you have just created](https://cdn4.xsplit.com/helpdesk/images/i/o/323988700/9bf1f7bc48db9e51ac0eab84/003.PNG)

### Custom RTMP broadcast properties

![Custom RTMP properties general overview](https://cdn4.xsplit.com/helpdesk/images/i/o/323988850/f5c657aad6928f64f5f5273d/004.PNG)

**Name**  
Set a name of your Custom RTMP broadcast output.  
  
**Description**  
Set a description for your livestream and archived video.  
  
**RTMP URL**  
Set the RTMP URL (or Stream URL) credentials from where you are livestreaming to.  
  
**Stream Key**  
Set the Stream Key credentials from where you are livestreaming to.  
  
**Specify channel credentials**  
Set your login credentials for the channel your livestreaming to.  
  
**Share Link**  
Set a shareable custom URL for your livestream.  
  
**User Agent**  
Set whether the livestream is FMLE/3.0, FME/2.5, or XSplit/?. Set to FMLE/3.0 by default.

---