This is the contents of turn-stun-servers.xml from
demo.bigbluebutton.org.
$ cat /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
<?xml version="1.0" encoding="UTF-8"?>
<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="stun0" class="org.bigbluebutton.web.services.turn.StunServer">
<constructor-arg index="0" value="stun:
turn.blindsidenetworks.com"/>
</bean>
<bean id="turn0" class="org.bigbluebutton.web.services.turn.TurnServer">
<constructor-arg index="0" value="<secret redacted>"/>
<constructor-arg index="1" value="turns:
turn.blindsidenetworks.com:443?transport=tcp"/>
<constructor-arg index="2" value="86400"/>
</bean>
<bean id="stunTurnService"
class="org.bigbluebutton.web.services.turn.StunTurnService">
<property name="stunServers">
<set>
<ref bean="stun0"/>
</set>
</property>
<property name="turnServers">
<set>
<ref bean="turn0"/>
</set>
</property>
</bean>
</beans>
It should be exactly the same as in our TURN documentation and what the bbb-install script will configure.
The properties in external.xml change what FS will send for its candidate and what ports and IPs it will respond on. It could be the cause if the problem is still a 1007, but not if it's a "1004 - WebRTC Error".
The properties in acl.conf.xml change what IP ranges FS will accept calls on. This could be a problem if it were a 1004 with anything except a "1004 - WebRTC Error".
If you could send me the full browser console log I can take a look at it. The problem will hopefully show higher up in the log.