• How to use a server listener to load and lock an appinstance (ServerListenerLoadAndLockAppInstances)

    Use the following server listener when starting Wowza Streaming Engine™ if you need to have an application load and remain loaded until the Streaming Engine is shut down. ServerListenerLoadAndLockAppInstances can be configured to load multiple applications or application instances on the server.

    Configuration


    To enable the server listener, add the following server listener definition to your server. See Configure server listeners for details.

    Base Class
    com.wowza.wms.plugin.collection.serverlistener.ServerListenerLoadAndLockAppInstances

    Properties



    After enabling the server listener, you can adjust the default settings by adding the following properties to your server. See Configure properties for details.

    Path
    Name
    Type
    Value
    Notes
    Root/Server loadAndLockVHost String myVHost Name of Virtual Host on which to load the applications. This string is needed only if there are custom Virtual Hosts (default: _defaultVHost_).
    Root/Server loadAndLockApplications String live1, live2, live3/myInstance Comma-separated list of applications and application instance names that will be loaded. If the default application instance (_definst_) is to be loaded, then you can use the application name without the application instance name. The example loads the default application instance on the live1 and live2 applications and loads an application instance named myInstance on the live3 application (default: live/_definst_).

    Wowza media server software and all components, including modules, source code, and other related items offered on this page, are copyrighted (c) 2006-2014 by Wowza Media Systems, LLC, all rights reserved, and are licensed pursuant to the Wowza Media Software End User License Agreement.
    Updated: For Wowza Streaming Engine 4.0.6 on 08-11-2014.

    If you're having problems or want to discuss this article, post in our forum.