The ModuleLimitPublishedStreamBandwidth module for Wowza Streaming Engine™ media server software enables you to automatically disconnect RTMP sources that exceed a set bandwidth limit.
Contents
Prerequisites
Installation
Configuration
Properties
Usage
For developers
Prerequisites
Wowza Streaming Engine 4.0.0 or later is required.
Installation
- Download wse-plugin-limitpublishedstreambandwidth.zip.
- Extract the contents from the downloaded (zipped) package, and then copy the lib/wse-plugin-limitpublishedstreambandwidth.jar file from the package to the lib folder in your Wowza Streaming Engine installation ([install-dir]/lib).
- Restart Wowza Streaming Engine.
Configuration
To enable this module, add the following module definition to your application configuration. See Configure modules for details.
Name
|
Description
|
Fully Qualified Class Name
|
ModuleLimitPublishedStreamBandwidth | Monitors limit of published stream bandwidth. | com.wowza.wms.plugin.ModuleLimitPublishedStreamBandwidth |
Properties
After enabling the module, you can adjust the default settings by adding the following properties to your application. See Configure properties for details.
Path
|
Name
|
Type
|
Value
|
Notes
|
/Root/Application | limitPublishedStreamBandwidthMaxBitrate | Integer | 800 | Maximum bitrate, in kilobits per second (Kbps), that's allowed for any publisher. Setting to 0 disables bandwidth checking. (default: 800) |
/Root/Application | limitPublishedStreamBandwidthDebugLog | Boolean | true | Enables or disables extra logging. (default: false) |
Usage
The ModuleLimitPublishedStreamBandwidth module enables you to configure a maximum bitrate for an application. When an RTMP stream is published to the configured application, it's monitored continuously to ensure its bitrate stays within the set limit. If the stream bitrate exceeds the limit, the RTMP source is disconnected.
For developers
- Get the source code on GitHub