Child pages
  • MCM Authentication Plugin
Skip to end of metadata
Go to start of metadata


MCM Authentication Plugin


This plugin monitors the action to play streams, and prevents the stream from playing if user is not authorized in MCM.


Requires Wowza 4.0.3.
Requires MCM 1.
This plugin is incompatible with the MCM2 Authentication Plugin 


Configuring Wowza

Configuration is done in the file 'conf/chaos/Application.xml' relative to the VHost path of the plugin (see Installation).
The file is based on 'examples/SimpleVideoStreaming/conf/vod/Application.xml' from the Wowza system directory. It must be updated with the following three steps:

1. Edit Connections/AutoAccept and set it to false


2. Edit Authentication/PlayMethod and set it to digest


3. Add the Authentication module

        <Description>Statsbiblioteket Chaos authentication module</Description>

Configuring plugin

Configuration is read from the file 'conf/chaos/' relative to the VHost path of the plugin (see Installation)

The following keys are used:


Configuring logging

Logging is done at VHost level. Edit the file 'conf/' relative to the VHost path of the plugin (see Installation) to set the desired log levels.


Assuming a Wowza server installed in $WOWZADIR configured with a toplevel directory for a VHost called $VHOSTDIR, the following is needed:

Add the distributed JAR files to $VHOSTDIR/applications/lib
Create the directory $VHOSTDIR/conf/chaos
Place the configuration file in $VHOSTDIR/conf/chaos/
Place the application file in $VHOSTDIR/conf/chaos/Application.xml
Create the directory $VHOSTDIR/applications/chaos

(To use an external VHost dir, follow the instructions from section "Virtual Hosting")


In a browser, open the URL


(replace /usr/local/WowzaStringEngine with $WOWZADIR)

At server, type
For XXX use an object ID from MCM.
For YYY use a valid session ID from MCM.

At stream, type the filename of the object with ObjectID XXX

Assuming that file is available in the content directory of the VHost, the file should now start playing.


As an alternative to a real MCM, use the mcm-service-mock.

Run java dk.statsbiblioteket.larm.mcm.validator.mock.Main

In plugin configuration at 'conf/chaos/', configure GeneralMCMServerURL=http://localhost:9998/

In simplevideostreaming.html, at server type rtmp://localhost/chaos?ObjectID=1&SessionID=filename.mp3

As stream use filename.mp3

  • No labels