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">
|
2020-10-22 11:10:44 +08:00
|
|
|
<constructor-arg index="0" value="stun:stun.l.google.com:19302"/>
|
2015-02-18 01:00:04 +08:00
|
|
|
</bean>
|
|
|
|
|
2018-07-20 23:21:46 +08:00
|
|
|
<!--bean id="stun2" class="org.bigbluebutton.web.services.turn.StunServer">
|
2015-02-18 01:00:04 +08:00
|
|
|
<constructor-arg index="0" value="stun:stun2.example.com"/>
|
|
|
|
</bean-->
|
|
|
|
|
2018-07-20 23:21:46 +08:00
|
|
|
<!--bean id="iceCandidate1" class="org.bigbluebutton.web.services.turn.RemoteIceCandidate">
|
2017-03-13 08:45:08 +08:00
|
|
|
<constructor-arg index="0" value="192.168.0.1"/>
|
|
|
|
</bean-->
|
|
|
|
|
2015-02-18 01:00:04 +08:00
|
|
|
<!-- Turn servers are configured with a secret that's compatible with
|
2018-07-20 23:21:46 +08:00
|
|
|
http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00
|
|
|
|
as supported by the coturn and rfc5766-turn-server turn servers -->
|
2015-02-18 01:00:04 +08:00
|
|
|
|
2018-07-20 23:21:46 +08:00
|
|
|
<!--bean id="turn1" class="org.bigbluebutton.web.services.turn.TurnServer">
|
2015-02-18 01:00:04 +08:00
|
|
|
Secret:
|
|
|
|
<constructor-arg index="0" value="secret"/>
|
2018-07-20 23:21:46 +08:00
|
|
|
TURN server URL, use turn: or turns:
|
|
|
|
<constructor-arg index="1" value="turn:turn1.example.com"/>
|
2015-02-18 01:00:04 +08:00
|
|
|
TTL in seconds for shared secret
|
|
|
|
<constructor-arg index="2" value="86400"/>
|
|
|
|
</bean-->
|
|
|
|
|
2018-07-20 23:21:46 +08:00
|
|
|
<!--bean id="turn2" class="org.bigbluebutton.web.services.turn.TurnServer">
|
2015-02-18 01:00:04 +08:00
|
|
|
<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>
|
2017-03-13 08:45:08 +08:00
|
|
|
<property name="remoteIceCandidates">
|
|
|
|
<set>
|
|
|
|
<!--ref bean="iceCandidate1" /-->
|
|
|
|
<!--ref bean="iceCandidate2" /-->
|
|
|
|
</set>
|
|
|
|
</property>
|
2015-02-18 01:00:04 +08:00
|
|
|
</bean>
|
2015-02-07 03:46:56 +08:00
|
|
|
</beans>
|