If you want to build live video streaming into your iOS app to create a unique and engaging user experience, you don’t need to have streaming expertise—that is, not when you use the Wowza GoCoder SDK. Its robust developer toolkit gives even those new to streaming the ability to easily integrate professional-grade live video into new or existing mobile apps, minimizing development time and maximizing user engagement.
In the video below, we’ll walk you through the process of using the GoCoder SDK and the Wowza Streaming Cloud managed streaming service to build a sample live video app for Android. Before you get started, make sure you’ve downloaded Wowza GoCoder for free. Don’t have Wowza Streaming Cloud yet? Sign up for a free trial to see how easy the process of building an end-to-end live video streaming solution can be.
Full Video Transcript:
Hi. In this video, we’re going to build a sample, live-streaming app for Android using Wowza GoCoder SDK and Wowza Streaming Cloud. This app will allow us to both broadcast and play back a live video stream, as well as demonstrate a few other things you can do with live broadcasts.
First let go to the Wowza Developer Site and start a trial for Wowza GoCoder SDK. This 30-day trial makes it easy to start developing streaming video apps in conjunction with a Wowza Streaming Cloud services.
When signing up, I recommend using an Android package name such as “[thenameofyourcompany].com.my.app,” just to keep it simple for this trial.
Once you’re signed up, you’ll receive an email containing your license key, and a link to download the most recent GoCoder SDK. It’s the most recent release that allows you to build a sample app that both broadcasts and plays back a live stream.
Download the .zip file, and then locate the .zip file on your computer. Open up Android Studio and choose to open an existing Android Studio project by selecting the sample-apps directory. It will take a while for the sample app to load. But when everything is loaded, go to the top, and build the app in your Android device. It’s that simple.
Once the build is complete, you’ll see GoCoder SDK open on your Android device.
As I mentioned, the sample app can do more than broadcast and playback. There are a number of sample functions you can test out. But let’s focus on streaming your broadcast from this Android device, and playing back a broadcast. To do either requires a service to process your video stream.
For processing, let’s go to the Wowza Developer Site and start a trial for Wowza Streaming Cloud. A Cloud trial is limited, but it’s great for test purposes. When you’re ready to get serious with API calls or low-latency streaming, you’ll need a full account.
Until we can start making API calls to create streams, we’ll need to do this manually though the Wowza Streaming Cloud account interface. In the top menu, select “ADD LIVE STREAM.” There are a ton of configurations to perfect the stream we’re creating, but to keep it simple, let’s name it “GoCoder Test.” Select the location closest to where you’ll be broadcasting from, then click “next.” On the following screen, choose Wowza GoCoder as the encoder. We’ll click “NEXT” through all the additional screens, and then on the last screen, click “FINISH.”
Now the stream has been created. The next step is manually enter the Source Connection Information into GoCoder SDK on our Android device.
For the sake of this demonstration. I’m going to use two Android devices to show the broadcast and playback functionality. Back on your Android device, go to “Stream live video and audio,” and using the cog, enter the Connection Settings. Be sure the primary server information is separated into Host Address and Application Name. While we’re entering this information, let’s also go on the other Android device and enter the same information under “Play a live stream.”
Once we’re ready to go, we’ll need to start the live stream on Wowza Streaming Cloud. Once it’s started, we can Broadcast to the stream on one Android device, and then play back that broadcast on another.
That’s it for building the sample app. Start developing your own app with GoCoder SDK today with Wowza.