Publish securely from an RTMP encoder that does not support authentication with a Wowza Streaming Engine Java module

This article describes how to use the ModuleSecureURLParams module as an alternative to the ModuleRTMPAuthenticate module in Wowza Streaming Engine™ media server software if your encoder does not support username/password authentication.

Notes:
  • The modules described in this article are built-in with Wowza Streaming Engine.
  • You can't use ModuleSecureURLParams and ModuleRTMPAuthenticate at the same time.
 
  1. In the Application.xml file for your application, add the following <Module> definition as the last entry in the <Modules> container element:
    <Module>
    	<Name>ModuleSecureURLParams</Name>
    	<Description>ModuleSecureURLParams</Description>
    	<Class>com.wowza.wms.security.ModuleSecureURLParams</Class>
    </Module>

     
  2. To protect publishing, add the following property to the application-level properties (<Application>/<Properties>) at the bottom of the Application.xml file (be sure to get the correct <Properties> container element—there are several in the file).
    <Property>
    	<Name>secureurlparams.publish</Name>
    	<Value>12345.doPublish</Value>
            <Type>String</Type>
    </Property>

    Now you must use an RTMP connection in your encoder. For example:

    rtmp://[wowza-ip-address]:1935/[application-name]/_definst_/doPublish=12345

More resources