CanadaCANADA

Setting up custom RTMP streams for popular Livestreaming destinations

Want to use an RTMP stream for uploading or broadcasting your live video stream to various services? Here's how to do it.

General approach:

  1. Look below for the livestreaming platform or service that you want to use.
  2. Follow the instructions for getting both the RTMP URL and the stream key for that platform/service.
  3. Enter the RTMP URL and the stream key in SlingStudio Console.

RTMP and RTMPS:

SlingStudio Console supports both RTMP and RTMPS streaming protocols. If you're streaming to a service that requires RTMPS, SlingStudio Console "negotiates" this with the streaming service when you set up your stream. Be sure that you have updated to the latest version of SlingStudio Console to take advantage of this.
Important note: Facebook requires RTMPS streaming as of May 1, 2019. Again, be sure that you're using the latest version of the SlingStudio Console software to ensure that your stream uses the correct protocol.

Keyframe interval rate

For all streaming services, set the Keyframe interval rate to a one-second interval. (You specify this parameter when you set up your stream within SlingStudio Console.)

Want to review Internet connectivity quality as you stream video?

Check out the Live Broadcasting Quality Indicator. Take a look at the links at the bottom of this page.

IMPORTANT: URLs listed below are for convenience only and are subject to change!

Select a streaming service to jump down to it (listed alphabetically):




Adobe Media Server

http://www.adobe.com/products/adobe-media-server-family.html

  1. Host the Adobe Media Server on Windows, Linux, or on Amazon web services.
  2. On SlingStudio Console, enter the URL of the Adobe Media Server with the port number from the ams_admin console.
    For example: RTMP://192.168.1.105:5423/live
  3. The stream key can be anything that you want.
  4. Enter the provided URL into SlingStudio Console along with the stream key for the end user to stream.
    For example: RTMP://192.168.1.105:5423/live/streamkey/



DaCast

  1. Log in to DaCast : https://my.dacast.com/login
  2. Click Add. Create a Live Channel.
  3. Select the channel. Under Encoder Setup, select your encoder.
  4. Note the Stream URL, Stream Name (the stream key), plus the login and password details.
  5. In SlingStudio Console, enter these details in the Custom RTMP Screen. Tap Set Destination.
  6. Start your live broadcast. You can watch the stream on DaCast by clicking Preview.
  7. If you don't see the stream, check the settings under Preference -> Video Preference -> Make changes in Resolution/Bit rate.



Facebook

https://www.facebook.com/business/help/165076674943644

  1. Go to https://www.facebook.com/live/producer/
  2. Leave Use Stream Key selected.
  3. Over in SlingStudio Console: If you're not there already, in Project Settings, go to Select a Destination (iPad) or SET DESTINATION (Mac), and then Custom RTMP.
  4. Click Add New RTMP (iPad) or Add a new custom RTMP (Mac).
  5. In the New Custom RTMP window, type a title for your stream.
  6. From Facebook, copy the Server URL and the Stream Key text strings over to the SlingStudio Console Custom RTMP settings.
  7. Note: Leave the KEY FRAME INTERVAL at 1 sec.
  8. Set the User Agent to SLINGSTUDIO
  9. When you're done entering settings, click SET DESTINATION.
  10. In the SlingStudio Project Settings box, click CREATE/SAVE (iPad) or CREATE/APPLY (Mac).
  11. In SlingStudio Console, be sure that you have video in the Program window.
  12. With an iPad, begin the stream by tapping GO LIVE on the left edge of the Console window. For a Mac, start streaming by clicking LIVE from the upper-right corner of the Console.
  13. In the box that appears, click GO LIVE.
  14. Back at the Facebook page, click Go live to begin streaming.
* Facebook RTMP instructions last updated: February 4, 2021



Kaltura

First: Make sure your account is enabled for Live broadcast. Once that's done, follow this procedure:

  1. Go to the Kaltura Management Console (KMC) and log in:
    https://kmc.kaltura.com/index.php/kmcng/login
  2. Inside the blue band of icons, tap/click Create to create a live event.
  3. In the box that appears, choose Create Live Stream Entry.
  4. In the Create Live Stream Entry dialog box, fill out the required fields, and then tap/click Create.
  5. You should see a Success dialog box. Tap/click Yes to view entry details.
    The Entry Details dialog box displays.
  6. From the Entry Details dialog box, choose Live Stream from the left-side panel.
    The Live Stream screen displays.
  7. From the Live Stream screen, find the Primary URL and the Stream name entries.
    1. Copy the Primary URL entry into the proper SlingStudio Console field for the RTMP stream that you are setting up.
    2. Do the same for the Stream name (or Stream key) entry.
  8. The Kaltura RTMP stream is now set up.



Live Stream

https://help.livestream.com/hc/en-us/articles/217694678-Setting-Up-Studio-as-an-RTMP-Server

  1. Go to https://livestream.com/
  2. Create an account.
  3. Create an event and/or select an event.
  4. Select Live tools -> RTMP input
  5. Select getlink
  6. Get the RTMP and the stream keys for use with SlingStudio Console.



Meridix

  1. Go to https://www.meridix.com
  2. Create an account.
  3. Go to the broadcaster portal at https://manager.meridix.com
  4. From the main menu, select Live -> Stream Keys
  5. Enter the provided server URL and stream key into SlingStudio Console.

Here's some additional information from Meridix that you might find helpful:

Please direct any questions about these procedures to Meridix.




NGINX

https://nginx.org/en/

  1. Host the NGNIX server on Windows or Linux.
  2. On SlingStudio Console, enter the URL of the NGINX server with the port number given in the ngnix.conf file.
    For example: RTMP://192.168.1.105:5563/live
  3. The stream key can be whatever you like.
  4. Start the NGNIX server.
  5. Enter the provided URL into SlingStudio Console, along with the stream key for the end user to stream.
    For example: RTMP://192.168.1.105:5563/live/streamkey/



Periscope/Twitter

  1. Go to https://www.periscope.tv/
  2. Create an account.
  3. Go to https://www.periscope.tv/account/producer
  4. Get the server URL and stream keys for use with SlingStudio Console.



Red5 Media Server

http://red5.org/

  1. Host the Red5 Media Server on Windows or Linux.
  2. Start the Red5 Media Server by running red5.sh
  3. Launch the Red5 service on the web browser of the server.
    For example: localhost:5080/demos/publisher.html
  4. Initiate a connection to the server.
  5. Enter the stream name.
  6. In SlingStudio Console, enter the URL of the Red5 Media Server with the port number given in red5.properties file and the stream key entered on the publisher. For example: RTMP://111.98.215.105:5578/oflaDemo ; Streamkey: stream1
  7. Enter the provide URL into SlingStudio Console along with stream key for the end user to stream.
  8. For example: RTMP://111.98.215.105:5578/oflaDemo/stream1



Restream.io

https://support.ustream.tv/hc/en-us/articles/212811349-How-to-use-Restream-io-to-Broadcast-to-Multiple-Publishing-Points

  1. Go to https://restream.io/
  2. Create an account.
  3. Select the dashboard and select the region to get the RTMP URL and stream keys.
  4. Add the channel where SlingStudio needs to send the stream. For example: YouTube, Livestream, Twitch.



Twitch

  1. Create an account at https://www.twitch.tv/
  2. Click the Username and select the Dashboard option.
  3. Under Dashboard select Settings -> Stream Key -> Show Key -> Copy the Stream Key (The stream key is unique for every individual account)
  4. For the RTMP Server URL, go to https://bashtech.net/twitch/ingest.php and select the URL as per your location.
  5. Copy the Server URL and the Stream key to the SlingStudio Console Custom RTMP feature. Start the broadcast.



Wowza Streaming Server

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-RTMP-based-encoder

  1. You'll need a PC to host Wowza Streaming Server.
  2. Launch the server, then log in to it.
  3. Go to http://localhost:8088/enginemanager/Home.htm#application/_defaultVHost_/live/live/main/
  4. Select the test player and get the RTMP URL RTMP://192.168.1.101:5571/live and the stream key, for example: mystream



YouTube

https://support.google.com/youtube/answer/2907883#zippy=%2Cstart-live-streaming-now%2Cschedule-a-live-stream%2Cusing-stream-now-live-event

  1. Go to YouTube Studio https://studio.youtube.com/
  2. Click Create > Go Live
  3. Over in SlingStudio Console: If you're not there already, in Project Settings, go to Select a Destination (iPad) or SET DESTINATION (Mac), and then Custom RTMP.
  4. Click Add New RTMP (iPad) or Add a newcustom RTMP (Mac).
  5. In the New Custom RTMP window, type a title for your stream.
  6. In YouTube, choose your preferred Stream Key type (the default, Auto-generated key option works best for most users), then copy the Stream URL and the Stream Key text strings over to the SlingStudio
  7. Leave the KEY FRAME INTERVAL at 1 sec.
  8. Change the User Agent from FMLE to SLINGSTUDIO
  9. When you're done entering settings, click SET DESTINATION.
  10. In the SlingStudio Project Settings box, click CREATE/SAVE (iPad) or CREATE/APPLY (Mac).
  11. In SlingStudio Console, be sure that you have video in the Program window.
  12. With an iPad, begin the stream by tapping GO LIVE on the left edge of the Console window. For a Mac, start streaming by clicking LIVE from the upper-right corner of the Console.
  13. In the box that appears, click GO LIVE.
  14. Back at the YouTube page, your video should appear, and the stream should be live.
* YouTube RTMP instructions last updated: February 4, 2021


More information to help you:

iPad Console: Using the Live Broadcasting Quality Indicator
Mac Console: Using the Live Broadcasting Quality Indicator