Technical compatibility and strong ties with partners throughout the video distribution chain have always been a priority for Streamroot. Our partnership with Wowza Media Systems demonstrates this commitment in action!
We consider Wowza one of the best and easiest-to-configure media servers on the market and are happy to announce that we have solidified our technical compatibility and fruitful discussions with the Wowza teams. For more information on our recent membership in the Wowza Tech Alliance, our joint webinar in February, and a tutorial keep reading!
Streamroot Joins the Wowza Tech Alliance
Streamroot is happy to be included in the Wowza Tech Alliance, an ecosystem of interoperable products that work innovatively along with with Wowza in a broad range of applications. Streamroot has long ensured technical compatibility with Wowza and considers it one of the simplest options for producing both VOD and live streams: this is a great milestone for both of us!
Our Recent Stream Talk
To solidify this joint offering and provide an overview of how Wowza and Streamroot work together, Wowza recently organized a joint webinar in which we discussed peer-accelerated streaming, did a live demo of our products, and answered a few of your questions. If you missed it, check out the video on demand here!
Upcoming Events: NAB 2016
To continue building this momentum, Streamroot will be giving a short presentation at the Wowza booth at NAB this April. Head to booth SU5324 on Wednesday the 20th at 2:00 pm! The entire presentation schedule can be found here.
Tutorial: Configure your Wowza Media Server to broadcast a peer-accelerated stream
And finally, for a look at how easy it is to use Streamroot and Wowza technology, we’d like to offer a short tutorial!
1. Getting Started
Start by installing Wowza Streaming Engine. You can request a developer license here and use the Wowza quick-start guide for help if you have any questions. Be sure to refer to the Wowza forums, which are a real goldmine for tutorials, information, and resolved issues.
Then create an account on Streamroot portal. Make sure to confirm your email address by clicking on the link you receive just after registering. You’ll receive a client ID that will be used later on.
2. Configure your Wowza Media Server
If you haven’t already, upgrade Wowza Streaming Engine to version 4.4 or later. That way everything can be done with a simple click.
To use Streamroot with Wowza-generated streams, all you need to do is to enable CORS. Depending on whether you use your Wowza Streaming Engine Manager or do it manually, the process is slightly different.
Enabling CORS through the Wowza Streaming Engine Manger
The easiest way is to configure your stream directly in your Wowza Streaming Engine Manager:
- Select your application.
- Edit your application.
- Allow the CORS option by checking the box.
- Restart the application for changes to take effect.
To see how to enable CORS manually in your Application.xml file, check out our complete documentation in our portal!
3. Set Up a Wowza VOD or Live Stream:
Create a VOD Stream
Now let’s see how to create your first VOD stream. (to create a live stream, go to the “Create a Live Stream” section below.) If you already know how to do this, skip to section 4.
- The sources of your VOD streams are files on the server. First, add your content to your machine by uploading your mp4 video files into a folder. We suggest using [install-dir]/content/. If you don’t have a video file yet, go ahead and use the Wowza sample.mp4 video file, which is already in [install-dir]/content/.
- In your Wowza Streaming Engine Manager, go to Applications and click on the VOD application. Wowza Streaming Engine comes preconfigured with one VOD application. We will use it in this tutorial.
- As Streamroot supports MPEG-DASH and HLS, click on Edit and make sure those two playback types are selected.
- To configure playback authentication, in the left-hand column, click Playback Security. Then click Edit and select No Client Restrictions. For more about the security configuration with Wowza, check out this page.
- Restart the application for your changes to take effect.
Your VOD streams are now available at the following URLs!
Create a Live Stream
The configuration is very similar for Live. The only difference lies in how the content is obtained. Let’s see how to create your DASH or HLS live from an RTMP stream.
First, configure your live application:
- In the Wowza Streaming Engine Manager, go to Applications and click on the live application. Wowza Streaming Engine comes preconfigured with one live application. We will use it in this tutorial.
- Streamroot supports MPEG-DASH and HLS video formats. Click on Edit and select these two playback types. (Refer to the image in the VOD section above.)
- To configure playback authentication, in the left-hand column, click Playback Security, then click Edit and select No Client Restrictions. For more information about the security configuration with Wowza, check out this page.
- To configure encoder source authentication, in the left-hand column, click Source Security, then click Edit and select the following:
- ‘Open’ for RTMP Sources.
- ‘No client restrictions’ for Client Restrictions.
- Restart the application for changes to take effect.
Now, let’s publish the stream. Enter the following information in your encoder:
This source should now appear as a stream in your Wowza Streaming Engine Manager. To check that this is the case, go to your live application and click on Incoming Streams.
Your live streams are now available at the following URLs:
4. Optimize your peer-to-peer performance
If you followed all the previous steps correctly, your setup should be working. However, a few more parameters can be configured to optimize Streamroot performances and reach the full possibilities of Streamroot. The following should be configured:
Segment duration: For the best possible results, use short segments: 2-second segments are ideal.
Playlist length (live only): The more segments there are in the playlist, the more effectively Streamroot works. We recommend that you set the playlist to at least 60 seconds for optimal results.
NOTE: Increasing your playlist length will NOT add additional delay to your live stream. However, it will make your streams more resilient to network instabilities and improve the user experience.
To change your segment duration from your Wowza Engine Manager:
- In the manager Welcome page, click the Applications tab at the top of the page.
- In the Applications contents panel, select the name of your application.
- On the VOD application page Properties tab, click Custom in the Quick Links
- In the Custom area, click Edit.
- Click Add Custom Property, specify the following custom property settings in the Add Custom Property dialog box, and then click Add.
|Name||Depending on your stream format:
• mpegdashChunkDurationTarget for MPEG-DASH
• cupertinoChunkDurationTarget for HLS
- Click Save, and then restart the application when prompted.
Segment duration should also be configured for live streams: again, 2-second segments are ideal. From your Wowza Streaming Engine Manager:
- On the manager Welcomepage, click the Applications tab at the top of the page.
- In the Applicationscontents panel, select the name of your live application.
- In the Quick Linksbar on the live application page Properties tab click on:
- MPEG-DASH Streaming Packetizer for MPEG-DASH
- Cupertino Streaming Packetizer for HLS
- Click Edit in Packetizer properties. To enable a property, select the Enabled check box for the property. Set the following four properties according to your video format:
|Available chunk list||mpegdashMaxChunkCount||cupertinoMaxChunkCount||45|
- Click Save and restart the application when prompted to apply the changes.
*NOTE: Keyframe & segment length
Keep in mind that each segment must begin with a keyframe. Your segment size must therefore be a multiple of your GOP size (the group of pictures between two keyframes). You will not be able to force 2-second segments if your keyframe interval is larger than that, so choose your segment length accordingly, making segments as short as possible. You can also check your ingest stream configurations to reduce the size of your keyframes, or try using Wowza’s transcoder.
To see how to do this directly in your Application.xml file, sign up and take advantage of our full documentation!
5. Getting started in the Streamroot portal
Now that everything’s set up in Wowza, head back to your Streamroot portal to configure your player for peer-assisted delivery. Streamroot has developed modules for the most popular HTML5 video players for plug-and-play integration in players such as JW6, JW7 and VideoJS.
Through those few very simple steps, you have been able to configure a robust and scalable VOD or live stream. If you have any questions on Streamroot configuration with Wowza, don’t hesitate to get in touch with our support team directly through our portal. Also, we are always looking for new partnerships with industry players – just drop us a line and we will get in touch as soon as possible!