Wowza Media Systems

Wowza Media Server 2 Examples

Each of these folders include an example that highlights the functionality of Wowza Media Server 2. Follow the instructions in the README.html that is included in each of the folders to install and run the examples. To install all the examples follow the instructions below.

To install all examples

VISTA/WINDOWS 7:   Right click installall.bat and select Run as Administrator
WINDOWS:   Double click the installall.bat batch file
LINUX:   Run ./installall.sh
MAC OSX:   Double click the installall.command script file

List of examples

BWChecker:  This is an Adobe Flash example that provides a means for testing the bandwidth between individual Flash client connections and Wowza Media Server 2.  It includes both a debugging tool that can be used to interactively test bandwidth as well as Flash code that you can embed into your Flash application.
LiveVideoStreaming:  This example illustrates how to setup and playback live video. It utilizes the live and rtp-live stream types.
LoadBalancer:  Wowza Media Systems provides a dynamic load balancing package that you can add to the Wowza Media Server 2.  To obtain the latest version of this package, click the following link: Dynamic Load Balancing
RemoteSharedObjects:  This is an Adobe Flash example that illustrates the basics of remote shared objects.  It implements the basic remote shared object interface and the onSync event handler to highlight how data is synchronized between client connections.  To see the data synchronization in action, try opening two instances of the example.  While you make changes in one instance you will see the data update in the other.
MediaSecurity:  Wowza Media Systems provides a media security package that includes SecureToken and RTMP Authentication functionality as well as a document that covers other methods of securing Wowza Media Server 2.  To obtain the latest version of this package, click the following link: Media Security
ServerSideModules:  This example is referenced by the Wowza IDE: User’s Guide and is a good starting point to learn how to create your first custom server side module.
SHOUTcast:  This is an Adobe Flash xample that illustrates how re-stream SHOUTcast and Icecast MP3 or AAC+ audio data through Wowza Media Server 2.  It utilizes the shoutcast stream type.
SimpleVideoStreaming:  This example includes a video on demand player for Adobe Flash and Microsoft Silverlight.  It includes source code for Adobe Flash CS3 or greater, Adobe Flex 3 or greater and Microsoft Silverlight 3 or greater.  It utilizes the default stream type.
TextChat:  This is an Adobe Flash example that illustrates how to implement a simple text chat application.
VideoChat:  This is an Adobe Flash example that illustrates how to implement video chat between two users.  It utilizes the live-lowlatency stream type and uses the Camera and Microphone objects to obtain video and audio content.  The example can either stream video and audio data between two client connections or loop the data back to itself.
VideoRecording:  This is an Adobe Flash example that illustrates how to implement client to server video recording.  It utilizes the record stream type and uses the Camera and Microphone objects to obtain video and audio content.

Additional resources

Wowza Media Server Quick Start Guide
Wowza Media Server Forums

Note: All Adobe Flash files in the client folders of each of the examples is implemented using ActionScript 3.0. Where appropriate, there are ActionScript 2.0 implementations in the clientAS2 folders. Many of the Flash examples also include Flex version in the clientFlex folder. The SimpleVideoStreaming and LiveVideoStreaming example also include a Microsoft Silverlight player in the clientSilverlight folder.

Note: To run the examples on a machine that does not include a web browser, you must either copy the .html, .js, .png, .xap and .swf files to a machine that does include a web browser or make these files available through a web server on the machine running Wowza Server. Upon running the .html file, you will also need to change the rtmp:// URL to point to the ip address of the server running Wowza Server.