Commit 1af1a75d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Moving fixes to JSP.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6804 b35dd754-fafc-0310-a699-88a17e54d16e
parent 26b059a4
...@@ -45,7 +45,7 @@ public class MediaProxyService extends BasicModule ...@@ -45,7 +45,7 @@ public class MediaProxyService extends BasicModule
private PacketRouter router; private PacketRouter router;
private MediaProxy mediaProxy = null; private MediaProxy mediaProxy = null;
private boolean enabled = true; private boolean enabled = false;
public static final String NAMESPACE = "http://www.jivesoftware.com/protocol/rtpbridge"; public static final String NAMESPACE = "http://www.jivesoftware.com/protocol/rtpbridge";
...@@ -232,7 +232,7 @@ public class MediaProxyService extends BasicModule ...@@ -232,7 +232,7 @@ public class MediaProxyService extends BasicModule
catch (NumberFormatException e) { catch (NumberFormatException e) {
// Do nothing let the default values to be used. // Do nothing let the default values to be used.
} }
setEnabled(JiveGlobals.getBooleanProperty("mediaproxy.enabled")); this.enabled = JiveGlobals.getBooleanProperty("mediaproxy.enabled");
} }
/** /**
......
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
boolean save = request.getParameter("update") != null; boolean save = request.getParameter("update") != null;
boolean success = false; boolean success = false;
long keepAliveDelay = 3600; long keepAliveDelay = mediaProxyService.getIdleTime();
long lifetime = 0; long lifetime = mediaProxyService.getLifetime();
int minPort = 10000; int minPort = mediaProxyService.getMinPort();
int maxPort = 20000; int maxPort = mediaProxyService.getMaxPort();
boolean enabled = true; boolean enabled = mediaProxyService.isEnabled();
if (save) { if (save) {
keepAliveDelay = ParamUtils.getLongParameter(request, "idleTimeout", keepAliveDelay); keepAliveDelay = ParamUtils.getLongParameter(request, "idleTimeout", keepAliveDelay);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment