• How to test server-to-client bandwidth for RTMP clients

    This article describes how to use a bandwidth checker provided by forum contributor Roger. It is a Wowza Media Server/Java version of the bandwidth checker:

    To install the BWCheck package

    1. Download BWChecker.zip and extract the contents from the compressed (zipped) folder.

    2. Copy the lib/wms-plugin-bwcheck.jar file in the package to the [install-dir]/lib folder.

    3. If Wowza Media Server™ is running, restart the server.

    To configure the bandwidth checker on the server

    1. Create a folder named [install-dir]/applications/bwcheck.

    2. Create a folder named [install-dir]/conf/bwcheck.

    3. Copy the [install-dir]/conf/Application.xml file to the new [install-dir]/conf/bwcheck folder.

    4. Open the [install-dir]/conf/bwcheck/Application.xml file in a text editor and either remove or comment-out the flvplayback module reference:
      <!--Remove or comment-out this section.-->
    5. Add the following module reference as the last entry in the <Modules> section (it is important that it be the last entry):

    Note: The ModuleBWCheck2 module source code is included in the src folder that you extracted from the BWChecker.zip file.

    To configure bandwidth checker clients

    Copy the client folder that you extracted from the BWChecker.zip file to a client computer. The client folder contains the following renditions of the bandwidth checker client:


    This is an interactive tool that tests server-to-client bandwidth every 5 seconds.

    1. Install the bandwidth checker client:

      • On Windows operating systems, right-click install.bat, and then select Run as administrator.

      • On Linux operating systems, run ./install.sh.

      • On OS X, run ./install.command in a terminal window.

    2. Open the bwchecker.html file in a web browser and update the Server field with the IP address of the remote Wowza Media Server that you configured in the previous section (for example, rtmp://[wowza-ip-address]/bwcheck).

    3. Click Start.

    The sample application will return the download speed and latency value between the remote Wowza Media Server and your local browser approximately once every 5 seconds.


    This is an example of how you might call the bandwidth checker on the server from your Adobe Flash client application. You can integrate the example code in this file into your Flash-based player to test bandwidth before playing a media stream. When the bandwidth checker is done, it will call onBWDone with the calculated bandwidth in kilobits-per-second (kbps).

    Originally Published: 10-02-2010.
    Updated: 01-06-2015.

    If you're having problems or want to discuss this article, post in our forum.