Module to allow specific playback protocols and reject others

This module will allow you to specify which playback protocols you’d like to allow and reject any others.   You can add the module as follows (in your Application.xml Modules list):

<Module>
<Name>RestrictProtocol</Name>
<Description>RestrictProtocol</Description>
<Class>guru.thewowza.RestrictProtocol</Class>
</Module>

To specify which are included, add the following properties to your Application.xml general properties (at the bottom):

<Property>
<Name>twgAllowHTTPSPlayback</Name>
<Value>true</Value>
</Property>

<Property>
<Name>twgAllowHTTPPlayback</Name>
<Value>false</Value>
</Property>

<Property>
<Name>twgAllowRTMPPlayback</Name>
<Value>false</Value>
</Property>

<Property>
<Name>twgAllowRTSPPlayback</Name>
<Value>false</Value>
</Property>

<Property>
<Name>twgAllowRTMPSPlayback</Name>
<Value>true</Value>
</Property>

For example, the above would only allow secure playback via rtmps and https.

Download the module & source code here:  TWGProtocolWhitelist


Comments are closed.