- external icecast protocol property

This commit is contained in:
Richard Alam 2012-11-14 20:40:12 +00:00 committed by Calvin Walton
parent c593d94447
commit a3e1f320c0
3 changed files with 8 additions and 1 deletions

View File

@ -58,6 +58,7 @@ public class FreeswitchApplication extends Observable implements ConferenceServi
private FreeswitchHeartbeatMonitor heartbeatMonitor;
private boolean debug = false;
private String icecastProtocol = "shout";
private String icecastHost = "localhost";
private int icecastPort = 8000;
private String icecastUsername = "source";
@ -364,7 +365,11 @@ public class FreeswitchApplication extends Observable implements ConferenceServi
public void setDebugNullConferenceAction(boolean enabled) {
this.debug = enabled;
}
public void setIcecastProtocol(String protocol) {
icecastProtocol = protocol;
}
public void setIcecastHost(String host) {
icecastHost = host;
}

View File

@ -14,6 +14,7 @@
<beans:bean id="freeswitchApplication" class="org.bigbluebutton.webconference.voice.freeswitch.FreeswitchApplication">
<beans:property name="managerConnection" ref="eslConnection"/>
<beans:property name="DebugNullConferenceAction" value="true"/>
<beans:property name="icecastProtocol" value="${icecast.protocol}"/>
<beans:property name="icecastHost" value="${icecast.host}"/>
<beans:property name="icecastPort" value="${icecast.port}"/>
<beans:property name="icecastUsername" value="${icecast.username}"/>

View File

@ -31,6 +31,7 @@ version=0.63
redis.host=127.0.0.1
redis.port=6379
icecast.protocol=shout
icecast.host=127.0.0.1
icecast.port=8000
icecast.username=source