62 lines
2.3 KiB
XML
62 lines
2.3 KiB
XML
|
<?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="turn1" class="org.bigbluebutton.web.services.turn.TurnServer">
|
||
|
<constructor-arg index="0" value="${turn1.secret}"/>
|
||
|
<constructor-arg index="1" value="${turn1.url}"/>
|
||
|
<constructor-arg index="2" value="${turn1.ttl}"/>
|
||
|
</bean>
|
||
|
|
||
|
<bean id="turn2" class="org.bigbluebutton.web.services.turn.TurnServer">
|
||
|
<constructor-arg index="0" value="${turn2.secret}"/>
|
||
|
<constructor-arg index="1" value="${turn2.url}"/>
|
||
|
<constructor-arg index="2" value="${turn2.ttl}"/>
|
||
|
</bean>
|
||
|
|
||
|
<bean id="stun1" class="org.bigbluebutton.web.services.turn.StunServer">
|
||
|
<constructor-arg index="0" value="${stun1.url}"/>
|
||
|
</bean>
|
||
|
|
||
|
<bean id="stun2" class="org.bigbluebutton.web.services.turn.StunServer">
|
||
|
<constructor-arg index="0" value="${stun2.url}"/>
|
||
|
</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>
|
||
|
</beans>
|