• How to change UDP port recycle time (ServerListenerUDPPortRecycleTime)

    The UDPPortRecycleTime server listener for Wowza Streaming Engine™ enables you to change the time when UDP ports are recycled. When UDP ports are released, they aren't reallocated immediately to accommodate situations where cameras that aren't aware that a session has ended continue to send data. The port recycle time is the amount of time that elapses before released ports can be re-allocated. If you have many new connections, you may need to reduce the recycle time. This will shorten port turn-around time. If you experience interference from old connections, you may need to increase the recycle time.

    Note: Wowza Streaming Engine™ 4.0 or greater is required.
    A compiled version of the UDPPortRecycleTime server listener is included in the Wowza Module Collection.

    Configuration


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

    Name
    Description
    Fully Qualified Class Name
    ServerListenerUDPPortRecycleTime
    Changes the UDP port recycle time.
    com.wowza.wms.plugin.collection.serverlistener.ServerListenerUDPPortRecycleTime

    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.

    The following property can only be set for the server listener at the server level.

    Path
    Name
    Type
    Value
    Notes
    Root/Server udpPortRecycleTime Integer 600000 Port recycle time, in milliseconds. (default: 600000)

    Usage


    Attach ServerListenerUDPPortRecycleTime as a server listener, and then set the UDP port recycle time. This server listener property will be set system-wide after the Wowza media server starts.


    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.