Module redirect to CDN

This module will redirect connections by protocol to various CDN’s once the threshold has been met.

In your conf/[app-name]/Application.xml file, you can setup the listener as follows under Root/Application/Modules:

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

These are the following available properties (not a complete list):

<Property>
<Name>switchToCDNUrl</Name>
<Value>[GENERAL-CDN-URL]</Value>
</Property>

<Property>
<Name>switchToCDNRTMPUrl</Name>
<Value>[RTMP-SPECIFIC-URL]</Value>
</Property>

<Property>               
<Name>switchToCDNConnections</Name>
<Value>[TOTAL-NUMBER-CONNECTIONS-BEFORE-REDIRECT]</Value>
</Property>

<Property>
<Name>switchToCDNLocalUrl</Name>
<Value>[YOUR-WOWZA-IP]</Value>
</Property>

Download the complete source and jar file here.


Comments are closed.