docker-jitsi-meet icon indicating copy to clipboard operation
docker-jitsi-meet copied to clipboard

just a hint for the TURN Configuration

Open Thomas1K opened this issue 10 months ago • 1 comments

stable-9364, on docker, behind a NAT (Sophos UTM) external coturn server, listening on 443, with "use-auth-secret" and "static-auth-secret", sucessfully tested with Trickle and icetest.info

.env for jitsi contains

JVB_ADVERTISE_IPS=<docker-ip>,<external-ip>
TURN_HOST=turn.domain.de
TURN_PORT=443
TURN_TRANSPORT=tcp
TURN_CREDENTIAL=<static-auth-secret from coturn>

Edge is telling me this: [JitsiConference.js] <$h._acceptJvbIncomingCall>: DOMException: Failed to construct 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "turns".

Firefox is telling me this: [JitsiConference.js] <972/$h.prototype._acceptJvbIncomingCall>: DOMException: RTCPeerConnection constructor passed invalid RTCConfiguration - missing username: turn:turn.domain.de:443?transport=tcp

and coturn remains silent, no connection is made.

can you please nudge me in the right direction?

Thomas1K avatar Mar 27 '24 09:03 Thomas1K

It is TURN_CREDENTIALS instead of TURN_CREDENTIAL - see https://github.com/jitsi/docker-jitsi-meet/blob/master/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua#L85

denzs avatar Apr 03 '24 06:04 denzs