MetaCDN - StreamShark

How to Restream Your Live Stream to YouTube and Twitch

Video Walkthrough

The video below demonstrates how to use StreamShark's restream feature.

 

Introduction

StreamShark is one-stop product when it comes to Live Streaming. To improve what our product already offers, we have added exciting new feature - User can now be able to stream to multiple platforms with only single source stream.

To make use of this exciting new feature, you would need to be on our Biz or higher plans, when used with our dedicated servers.

If you are new to StreamShark then give free-trial a go, otherwise login to your StreamShark portal and choose "Upgrade to Paid Account" menu option. Click here for pricing information.

This feature enables user to broadcast their stream to any destination that supports RTMP but to keep this guide simple, we will look how to live stream to 2 very popular platforms - YouTube and Twitch

To successfully stream we need to perform these 3 setups.

Setup 1: Configuration within 3rd party platform (YouTube, Twitch etc.)
Setup 2: Configuration within StreamShark portal.
Setup 3: Push stream via some encoder (Wirecast, OBS etc.)

Good news is that Setup 2 and Setup 3 will be identical regardless of which platform we broadcast to.

So, let's get started!!

 

Step-by-Step Guide for How to do Live Stream to YouTube

Setup 1: YouTube Configuration Steps

  1. Go to https://www.youtube.com/my_live_events and login to your YouTube account.

  2. Click on 'Create live event' or 'New live event' button (You might need to enable this if this is the 1st time you have been doing Live Streaming in YouTube)

  3. Fill out the Basic Info. Make sure for the Type section, choose "Custom".

     4. Click on "Create event" button.

     5. In the next page, under "Choose maximum sustained bitrate of your encoder" section, we need to select Basic Ingestion. At this moment, we only support 1500 Kbps - 4000 Kbps (720p). However, if you need to stream different bitrate, then contact us and we will customise it for you. 

     6. After choosing the bitrate, we would need to select the Encoder. Since we are using StreamShark, choose "Other encoders".

     7. Make note of the Stream Name and Primary Server URL (RTMP Url) as we would need them while setting up a target in StreamShark portal.

     8. Click on Save Changes button.

At this point, we are done with our configuration setup on YouTube side.

Now, we need to configure StreamShark to make use of the event we just created in YouTube.

Setup 2: StreamShark Portal Configuration Steps

Note - Following steps would be same regardless of whether we streaming to YouTube, Twitch or any other platform.

  1. Login to StreamShark Portal

  2. Choose "Streaming Event" from the Menu Option.

  3. Create a new Event which that would be broadcasting. Make sure Primary Encoder Server is using the Dedicated Server (If not, then it means you are not on the BIZ plan or above, you can upgrade via portal or Contact us if you have any question)

  4. For the Main-Event Settings, choose Dedicated Server Source and click Save.

  5. Wait until event status changes to Ready. (You would need to click on Refresh icon to get the latest status)

  6. Once the status is ready, click on the event we just created.

  7. Go to "Restream" tab option.

  8. Under the Manual RTMP Target section, create a new target.

  9. Fill out the form details. Make use of the Stream Key and Primary Server URL (RTMP URL) values that we copied while doing configuration in YouTube.




  10. Click Create Target.

  11. Once the Target is created, it would appear in the table. Click on Go Live button in the Actions column to enable the target.

Once you click on Go Live button, the Status should change to Waiting. If not, then Contact Us and we will help you out.

 

Congratulations!! All the  configuration has been completed.

Setup 3: Push Stream

All we need to do now is to push the stream to the event main source. You can use any Live Encoder. Check our extensive guide which covers commonly use encoders.

Verify

Now we need to verify if all has been setup correctly. Go to StreamShark portal and refresh your Manual RTMP Targets table, the status should be Active now.

 

On YouTube portal, click on Events from left menu.

 

Click on "Live Control Room" button of your event. It should show Stream Status is GOOD.

If the status is Good, then just click on Preview button to go ahead with Live Stream. Remember to change your stream in YouTube to Public.

Now, let's have a look what setup is needed for Twitch.

Step-by-Step Guide for How to do Live Stream to Twitch

We would only show Setup 1 as that's the only difference from the YouTube Live Stream.

Setup 1: Configuration Steps in Twitch

  1. Login to Twitch account.

  2. Make a note of your Twitch Stream Key. This can be retrieved from  https://www.twitch.tv/{YourTwitchUserName}/dashboard/streamkey

  3. Make a note of Twitch RTMP URL. Choose the one closest to your region from this link
    https://bashtech.net/twitch/ingest.php

 

And this is all that's needed on Twitch side of things. Now follow Setup 2 and Setup 3 steps above to do the stream.

Verify

Go to https://www.twitch.tv/{YourTwitchUserName}/dashboard. If all has been setup correctly, then you should see your video getting streamed.

 

Basic Troubleshooting Guide

If the stream doesn't show up in YouTube or Twitch, check if the stream is being received correctly via the event embed link. The embed link can be found from the event overview tab. If the stream doesn't show up then it means your event is not setup correctly. If the stream shows up, then it means something went wrong in the configuration. Contact us and we will help you out.

 

Have more questions? Submit a request