public void setIdleTime(long idleTime) {
        this.idleTime = idleTime;
    }
Sets the max time (in millis) that a session can remain open without
receiving any packets. After this time period elapses, the session is
automatically closed.

@param idleTime the max idle time in millis.
xmppserver/src/main/java/org/jivesoftware/openfire/mediaproxy/MediaProxy.java