How to log client count and metadata for a stream every 10 seconds (ModuleLogViewerCounts)

This module starts up a thread for the entire application instance and logs the number of viewers to each stream every 10 seconds. It also logs all the current metadata associated with the stream. This information is logged to the x-comment field. The viewer count is the first field of this data (viewers).

A compiled version of this module is included in the Wowza Module Collection.


To enable this module, add the following module definition to your application. See Configure modules for details.

Fully Qualified Class Name
ModuleLogViewerCounts Logs viewer counts every 10 seconds. com.wowza.wms.plugin.collection.module.ModuleLogViewerCounts
Warning: This module logs viewer counts and stream metadata every 10 seconds and will create larger-than-normal log files.

Wowza media server software and all components, including modules, source code, and other related items offered on this page, are copyrighted (c) 2006-2014 by Wowza Media Systems, LLC, all rights reserved, and are licensed pursuant to the Wowza Media Software End User License Agreement.

Updated: For Wowza Streaming Engine 4.0.6 on 08-11-2014

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