No connection in Spreed video calls

Hello there.

I have a website with installed nextcloud on it (example.com/nextcloud).
I’m trying to configure spreed video calls app.

Server: apache2 + MySQL
OS: Linux Mint 18.2
PHP: 7.0.22

All needed ports (3478 & 8080) are opened in my router and forwarded to my server. I can connect inside the LAN (between server and PC) and all works just fine, but it won’t work outside my LAN. Any user will see just infinite loading of other participants and after ~5 minutes connection drops out.

I’ve tried to configure TURN server (7317):

config

nano /etc/turnserver.conf

	listening-port=3478
	fingerprint
	t-cred-mech
	use-auth-secret
	static-auth-secret=(mysecret)
	realm=example.com
	total-quota=100
	bps-capacity=0
	stale-nonce
	log-file=/var/log/turn.log
        no-loopback-peers
	no-multicast-peers

nano /etc/default/coturn

	TURNSERVER_ENABLED=1

and set it in the admin page:

image

But still does not work. What do I need to do to got it work properly?

Port 8080 actually does not need to be forwarded to the server. It was just used internally by the Spreed.ME app to proxy traffic server internally to the dedicated spreed-webrtc-server.

Configuration otherwise looks good.

The problem you mention sounds a bid like you use HTTP/2, where spreed video calls is not yet compatible with. But fix is available now on and will be released with Nextcloud 13. You can manually try current master of course: https://github.com/nextcloud/spreed/issues/225#issuecomment-332145138