STi Streaming Protection for Wowza
STi Streaming Protection for Wowza is a custom built module and browser application that can be setup to work in your environment to protect both live and VOD streams for Wowza Streaming Engine. We understand that there are many different types of security situations out there and have done our best to get this module setup to be as configurable as possible. Each of the available settings can be matched to your server and environment and we are adding more features on regularly. Out of the box, you should be able to protect your HLS, RTMP and RTSP streams. Pretty much with one click!
STi Streaming Protection for Wowza is a custom built module and browser application that can be setup to work in your environment to protect both live and VOD streams for Wowza Streaming Engine. We understand that there are many different types of security situations out there and have done our best to get version 1 of this module setup to be as configurable as possible. Each of the available settings can be matched to your server and environment and we are adding more features on regularly. If you don’t see your setup within the available specifications below then please feel free to let us know what it is and we’ll see if we can get that in as the next feature. Out of the box, you should be able to protect your HLS, RTMP and RTSP streams. Pretty much with one click!
Installing and using STi Streaming Protection for Wowza is very simple. Once purchased you will be able to immediately download the required files to get setup to start protecting your streams right away. Detailed instructions are included in the download, but needless to say there are just a few basic settings to change, a few files to copy to Wowza and a web server (if you want to use the application side of the product) and you should be up and running in no time. As always, a Wowza restart is required after making those changes and from there you should an immediate application of security to all streams for any application you set it up for. Once you have done all that, you are just a few clicks away from protecting any video stream on your server.
Overview video of simple setup with Willow for Wowza Streaming Engine:
Included Functionality and Details
As of version 1, STi Streaming Protection for Wowza supports MySQL for the database portion. Simply put, you must have a streams table and a tokens table as the module takes advantage of using tokens (either one-time or multi-time usage) to allow access to streams. The module can filter security requests to streams from either the Flash Player over RTMP or HTTP iOS with HLS and RTSP streams on Android and other players that support the RTP protocol. Further filtering will be added in the near future for other streaming varieties and technologies.
The Wowza Module
Here you can see how easy it is to change each setting required for the application. There’s no need to play with Java code, a few simple changes in the XML file for the application and you’re done.
Once your database is setup to link tokens to streams then you are ready to go. Below is a basic screenshot of PHPMyAdmin looking at a MySQL database. As you can see, only two tables are required with a few columns each.
This is the start of all stream security as you can limit which tokens go to what streams and if you want them to be able to be used once or multiple times with the ability to then manually disable the token when you don’t want the stream available. For all clients that connect up that are not verified as legitimate stream viewers, you can setup a default stream for them to watch instead. Using this module, it will be impossible to view a stream that is not in your database or allowed by the token provided.
Included with this security module, we have an application with a simple user interface to automatically grab a list of the files in the Wowza content and create tokens with just 2 clicks or taps. This application runs in any browser, both on computers and mobile devices which can let you share videos with security from anywhere. Below is a screenshot showing files, folders and basic instructions on how to use the application.
Here you can see what happens after you click the icon to create a token:
and finally the list of tokens for a particular file with easy to copy and paste links for valid tokens for a stream.
The application requires setting up of an HTTPProvider for Wowza, a connection to a database and a web server to run it from. Again, all of these instructions are in the download and it shouldn’t take longer than 5 minutes to have it all up and running. As a reminder, you don’t even need to use this portion of the STi Streaming Protection for Wowza as you can incorporate the module part within your own system. This application is provided in the case that you don’t have anything setup already and you want to get going right away.
For v1 of STi Streaming Protection for Wowza, you will need a minimum of version 3.5 of Wowza and the MySQL JDBC driver for Java to copy into your Wowza installation lib folder. From there you will need a valid user for your MySQL database and the simple setup required in it for the two tables, as laid out in the installation instructions. If you are planning on using the application with simple user interface for your security needs, then you’ll need a web browser that runs PHP 5 and higher. From there you will need to stipulate to whatever player you are using of which token to use and the rest is left up to the module to take care of for you.
That’s it! Any questions, ask us anytime!
Version 1.0 07/2014
Version 1.1 09/2014
Added RTSP protection
Version 1.2 05/2015
Added live stream protection via manual database update
Version 1.3 05/2015
Fixed minor bug for live streaming with RTSP