Live Streaming Using OBS & Twitch

## How to Live Stream Using Open Broadcaster Software (OBS) and Twitch

This is a tutorial on how to set up OBS to capture music from your Desktop PC and stream it into Twitch to be played on the Media Screens used for Events in myMusicOasis. It takes a little work to initially set it up, but, once it is set up it is really easy to use it for the next time you want to have a live event. Normally, you would use this approach to live stream if you were creating live mixes or music. In this example, I will be doing what is known as Live Looping to create some EDM beats that I want to stream into myMusicOasis for a Dance Event.

## Getting Open Broadcaster Software (OBS)

OBS (https://obsproject.com/) is the industry standard free and open source software for video recording and live streaming. There website has great tutorials on how to use OBS for many, many use cases. This is well worth your time to go look at. All the questions you may have will be answered there along with a very helpful community of people https://obsproject.com/welcome. This myMusicOasis documentation, is a very brief introduction of how to use it in the game and will show specifically how to use it to capture a live stream from your Digital Audio Workstation and then Stream into your Twitch account. Then people on Twitch could watch this as you are recording it. Also, you can then "consume" this streaming video from Twitch and bring it into the game myMusicOasis to play on Media Screen in the Club or World that you are having you Music/Dance Event in. This way you are playing live at a virtual dance that people from around the world can come listen, have their avatar's dance with each and chat while listening to you play.

Once you have downloaded and installed OBS on your desktop. You will need to set it up to do some audio/video capture and to stream that to Twitch. Then you go into myMusicOasis and use this Stream from Twitch to play the music at your event.

## Setting up the Capture of your Music from your PC

You can capture the Audio and Video from PC in OBS in a number of different ways:

* You can have it just record whatever you are doing in the Application you are using to create the music.
* You can capture one of your desktops and that way switch applications. Basically what you see and or hear is what is broadcast streamed.
* You can record from a live microphone.

This tutorial covers using your desktop to capture the performance. So get into OBS and set up the Sources. You add a source using the + button in the Source Pane of OBS.

Select from the options listed. In this case, select **Display Capture.**

You can name it something different if you want.

Select the Display you want to capture.

Select it as your Source and it will appear in the main window of OBS.

## Setting up for Live Streaming from OBS to Twitch

Go to the Settings button on the right hand side of the screen.

This launches the Settings Window.

The basic options we want to set are in the Stream options panel. So select Stream as the option.

This opens up the stream settings.

The Service drop down box shows the many ways you can Stream. Since this is the tutorial on Streaming using Twitch, select Twitch as the Service and press OK.

The next thing you will want to do is press the Connect Account (recommended) button to get access into your Twitch account to start a live stream in Twitch.

The next screen is the Log in to Twitch screen. This is launching you into Twitch inside of OBS. Enter your Twitch Account and Password,

If you have not logged in before using this approach you will be sent a Text message your device you chose for contact in Twitch. Normally, this is a text message to your phone although you could have it send to an email account instead.

Enter the token you get in the message. You can also tell it to remember your computer for the next 30 days again, so you don't have to go through this log in process again for the next month.

Once you have submitted this. A couple of screens now are added to your OBS application. This is for texting back and forth with people on Twitch if you want to. You are now set up and completely ready to start streaming your music.

## Get the Stream Starting in Twitch

You click the Start Streaming button in the Controls Pane of OBS.

After a few seconds delay it will begin streaming whatever you are doing on your desktop to Twitch.

Start the music application on your desktop display that is being captured. In this case, we are sharing a Live Looping EDM set we will do using Cakewalk Matrix. Once you start it you should see it show up in OBS.

You can go over to Twitch and see the Music Application showing and streaming into Twitch.

Copy to your clipboard the Twitch URL that the stream is using. You will need that for streaming into myMusicOasis.

## Getting Ready to Send your Live Stream into myMusicOasis

Now is a good time to get into myMusicOasis and Host your event. You can see how to host an event in this part of the Wiki. Once you have gotten into your event you need to hook up your Stream from Twitch to the Media Screen that your music/DJ Set will show up on.

Go to the Music Button in the Action Menu.

Select the DJ Controls.

Go to DJ Setup Button

Put your Twitch Channel URL that is showing your live broadcast in the URL and click play.

After a couple of seconds your Twitch will show up on the Media Screen.

Now you should go into your application you are using to create your set and make sure it is open in the Display Window that you are capturing with OBS. Now you should start Jamming away and the music will flow from the Application (i.e. Cakewalk DAW) to Twitch and then into the Media Screen in the myMusicOasis Club or World you are performing in.

Be sure to mind what applications are muted or playing in volume mixer. If you have the Twitch web page open in a browser you will hear an echo as it is broadcasting not only the music you are playing in your Music App, but also the music in the Browser window which has a short delay from the original music. Also, make sure that you have turned down the audio mixer for the myMO game as this would be a third source of the music. This take a little time to get used to, but after you have done it a couple of times it becomes second nature.

Remember the best place to go for help on OBS will be there excellent website. https://obsproject.com/welcome