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.
- 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>
- 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
or for RTMP encoders that use a single string for connections:
rtmp://[wowza-ip-address]:1935/[application-name]/?doPublish=12345/[stream-name]