Commit 20ccc788 authored by Thiago Camargo's avatar Thiago Camargo Committed by thiago

Fix property name

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6601 b35dd754-fafc-0310-a699-88a17e54d16e
parent 967ff403
...@@ -53,7 +53,7 @@ public class MediaProxyService extends BasicModule implements ServerItemsProvide ...@@ -53,7 +53,7 @@ public class MediaProxyService extends BasicModule implements ServerItemsProvide
public static final String NAMESPACE = "http://www.jivesoftware.com/protocol/rtpbridge"; public static final String NAMESPACE = "http://www.jivesoftware.com/protocol/rtpbridge";
/** /**
* Constructs a new RTPBridgePlugin plugin. * Constructs a new MediaProxyService.
*/ */
public MediaProxyService() { public MediaProxyService() {
super("Media Proxy Service"); super("Media Proxy Service");
...@@ -101,7 +101,7 @@ public class MediaProxyService extends BasicModule implements ServerItemsProvide ...@@ -101,7 +101,7 @@ public class MediaProxyService extends BasicModule implements ServerItemsProvide
String hostname = JiveGlobals.getProperty("xmpp.domain", String hostname = JiveGlobals.getProperty("xmpp.domain",
JiveGlobals.getProperty("network.interface", "localhost")); JiveGlobals.getProperty("network.interface", "localhost"));
mediaProxy = new MediaProxy(hostname); mediaProxy = new MediaProxy(hostname);
serviceName = JiveGlobals.getProperty("plugin.rtpbridge.serviceName", name); serviceName = JiveGlobals.getProperty("mediaproxy.serviceName", name);
serviceName = serviceName == null ? name : serviceName.equals("") ? name : serviceName; serviceName = serviceName == null ? name : serviceName.equals("") ? name : serviceName;
routingTable = server.getRoutingTable(); routingTable = server.getRoutingTable();
......
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