Examples for the various tools on Streamtoolbox.com that help seamless integration between Wowza Streaming EngineĀ® and your own video streaming system.
- Wrench: this tools provides flexible authentication, authorization mechanisms for both your stream consumers and producers. Also provides pay-per-minute and pay-per-view solutions and much more.
- Measure: log player counts per stream, per streaming technology and per Wowza application using your own predefined SQL queries into your database
- Clamp: add captions to your live streams on-the-fly from a text file. This can be used for service information, advertisements, etc.
- Simple authentication with PHP frontend and MySQL database (
01-simple-authentication
)
This example shows how to create a minimal video site which uses a MySQL database for storing users. Once the user gets in, a token is dynamically generated for him and stored in the database. This token is then put into video links so that Wrench can authenticate the user. All connections without a valid token are refused.
Easiest if you watch this YouTube video and follow the instruction.
- Download the full example package from GitHub
- Install an Apache/MySQL stack, like XAMPP
- Copy the contents of
www
into your webserver'shtdocs
folder - Log into the MySQL database and run
sql/setup.sql
script to create the database, user, tables and minimal data - Copy the contents of the
wowza
directory into your own Wowza Streaming Engine installation to define the streaming application - Download the latest version of Wrench and put the jar file under your Wowza's
lib
directory - Download the latest MySql JDBC connector and put the jar file under your Wowza's
lib
directory - Start your Wowza Streaming Engine
- Publish your live stream, e.g webcam from Flash Media Live Encoder into your Wowza server. Details on this can be found in this article.
The FMS url you need to use is
rtmp://localhost:1935/wrenchexample1?t=encodersecret
(this is given as encoder token in the providedApplication.xml
) and stream name should bemystream
.
- Dynamic text caption on a live stream from text file
This example demonstrates how to put arbitrary text messages on your live video stream from a text file. Just follow this YouTube video: