Sending an RTMP Stream to Wowza Streaming Cloud With OBS StudioNovember 12, 2018
One workflow we commonly see at Wowza involves streamers connecting their own encoder to the Wowza Streaming Cloud™ service. The ability to connect any H.264 encoder that supports Real-Time Messaging Protocol (RTMP) to our cloud-based service allows you to integrate live streaming into any workflow, using the equipment you already have.
In this video, we’ll show you how to use Open Broadcaster Software (OBS) Studio, a free and open-source streaming and recording solution, as the source for an RTMP-based live video stream to Wowza Streaming Cloud.
Full Video Transcript:
Justin Miller: Hey, this is Justin Miller from Wowza Media Systems, and today I’m going to show you how to send an RTMP stream to Wowza Streaming Cloud. We’re going to be doing this using OBS Studio, which I’m in right now, but let’s jump on over to a Wowza Streaming Cloud account, and from here I’m going to create this new stream by going to live streams and choosing to add a live stream.
Now, I’m going to call this live stream Denver Live, and I’m going to choose to US West, since that’s the closest area to my broadcast, as the place I’m going to be streaming from. I’ll click next, and as well, this is an RTMP stream, so I’m going to choose for my encoder Other RTMP.
The rest of these settings I’m not going to worry about. I’m going to leave them as default. You can always go back and change many of them in the future, but for right now I’m just going to finish up, and create this stream, and here we have our source connection information. I’m going to take this source connection information, starting with the primary server, and I’m going to bring this over to OBS under settings by going to stream. Under “stream,” I’m going to use the stream type “custom streaming server.” There’s my URL, I’m going to paste that in. I’ve also got to add a stream key; that’s my stream name. Paste that in.
User authentication: I’m going to grab the source user name, and I’m also going to grab the source password. Almost didn’t grab it there. One thing you should know, sometimes copying this stuff over is not perfect. Sometimes it adds a bracket or something in there that’s hidden, so just to be safe, I just like to delete the ends and add the word back again just to make sure that those brackets haven’t been added in.
Now, a few other settings that we may want to change. I’m actually going to go back to settings, and I’m going to change my video to be 720p, because I’m going to be using my webcam, and that webcam is 720p. For those of you who have not used OBS before, just click on the plus down here under “sources,” and you can add your video capture device. I’m creating a new one, and then choosing your device. Like I said, I’m just using the webcam, and here I am.
Hi, how’s it going everybody? Alright. Because I have this green screen behind me, I’m also going to go and right-click on “video capture device” and add a filter—an effects filter, specifically—for chroma key. Alright. There we go. I’m not going to worry about any of the settings right now. What I am going to do, though, is I am going to click plus again and I am going to add an image for my background.
I’ll click okay, choose an image file—just going to use something from Unsplash, since that is not copyrighted. Click okay, and I am invisible. I am behind this cement wall, but that’s okay, because under sources I’ll just move this image behind video capture device and there I am again. Hey, how’s it going? It’s working.
Alright. Now I’m ready to go broadcast to the world. I’m going to jump back over to Wowza Streaming Cloud, and I’m going to start my live stream. Now, once you start it, you will begin occurring charges, depending on your subscription. Something to keep in mind. I’m going to start this up. It takes about five seconds for this to start, but once it is started you are good to go. As you can see, it’s making the request right now, it is preparing, and it’s ready. Alright.
Now that we’re ready to go, I am going to go and jump back over to OBS and I should be ready to start my stream. Right here, just start streaming. I’ll click start streaming, as you can see it’s connected. I am showing how long I’ve been live down here at the bottom. CPU usage, et cetera.
If I tab back over to Wowza Streaming Cloud, I can see that here’s a thumbnail. It refreshes every five seconds letting you know I’m up and running. I have health monitoring right here with quite a number of statistics, letting me know what’s going on. If I want to see this live on the hosted page, I can just click open here for hosted page URL and I can play, and you will see me. Alright. As you can see, it’s connected.
Whoa, I better turn my volume off. Now, you notice that there is a bit of latency, that’s because what you’re seeing is HLS, because we’re repackaging that RTMP stream into HLS for this right here. Also, if I wanted to, I could go and, say, play back on my phone by using the playback URL here, or I could just add myself using the player embed code to, well, a site, or other places I want to be on.
Well, hey, that’s it for me. I’m Justin Miller for Wowza Media Systems, and you all have a great day.