@Override
    public void sessionClosed(MediaProxySession session) {
        sessions.remove(session.getSID());
        if (Log.isDebugEnabled()) {
            Log.debug("MediaProxy: Session: " + session.getSID() + " removed.");
        }
    }
Implements Session Listener stopAgent event.
Remove the stopped session from the sessions list.

@param session the session that stopped
xmppserver/src/main/java/org/jivesoftware/openfire/mediaproxy/MediaProxy.java