2015-02-18 01:00:04 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
|
|
|
|
|
|
|
Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the
|
|
|
|
terms of the GNU Lesser General Public License as published by the Free Software
|
|
|
|
Foundation; either version 3.0 of the License, or (at your option) any later
|
|
|
|
version.
|
|
|
|
|
|
|
|
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License along
|
|
|
|
with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
-->
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
|
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
|
|
|
">
|
|
|
|
|
|
|
|
<bean id="stun1" class="org.bigbluebutton.web.services.turn.StunServer">
|
|
|
|
<constructor-arg index="0" value="stun:stun.freeswitch.org"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<!--bean id="stun2" class="org.bigbluebutton.web.services.turn.StunServer">
|
|
|
|
<constructor-arg index="0" value="stun:stun2.example.com"/>
|
|
|
|
</bean-->
|
|
|
|
|
|
|
|
<!-- Turn servers are configured with a secret that's compatible with
|
|
|
|
http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00
|
|
|
|
as supported by the coturn and rfc5766-turn-server turn servers -->
|
|
|
|
|
|
|
|
<!--bean id="turn1" class="org.bigbluebutton.web.services.turn.TurnServer">
|
|
|
|
Secret:
|
|
|
|
<constructor-arg index="0" value="secret"/>
|
|
|
|
TURN server URL, use turn: or turns:
|
|
|
|
<constructor-arg index="1" value="turn:turn1.example.com"/>
|
|
|
|
TTL in seconds for shared secret
|
|
|
|
<constructor-arg index="2" value="86400"/>
|
|
|
|
</bean-->
|
|
|
|
|
|
|
|
<!--bean id="turn2" class="org.bigbluebutton.web.services.turn.TurnServer">
|
|
|
|
<constructor-arg index="0" value="secret"/>
|
|
|
|
<constructor-arg index="1" value="turns:turn2.example.com:443"/>
|
|
|
|
<constructor-arg index="2" value="86400"/>
|
|
|
|
</bean-->
|
|
|
|
|
|
|
|
<bean id="stunTurnService" class="org.bigbluebutton.web.services.turn.StunTurnService">
|
|
|
|
<property name="stunServers">
|
|
|
|
<set>
|
|
|
|
<ref bean="stun1" />
|
|
|
|
<!--ref bean="stun2" /-->
|
|
|
|
</set>
|
|
|
|
</property>
|
|
|
|
<property name="turnServers">
|
|
|
|
<set>
|
|
|
|
<!--ref bean="turn1" /-->
|
|
|
|
<!--ref bean="turn2" /-->
|
|
|
|
</set>
|
|
|
|
</property>
|
|
|
|
</bean>
|
2015-02-07 03:46:56 +08:00
|
|
|
</beans>
|