Hello Yarema, I'm afraid you need to set-up turn server "visible to KMS" Which means 1) your KMS port should be opened OR 2) TURN server should be on the same server as KMS and TURN ports should be opened 3*) (I'm not nginx expert) maybe you can proxy TURN requests/responses, I'm not aware on such option ...
On Fri, 13 Mar 2020 at 07:10, YUP <[email protected]> wrote: > > Hello all, > Could someone help me with configuration of my OM setup? Any help will > be greatly appreciated. > I have a server which is for several reasons behind NAT, only 443 port > is open. There is sslh balancer, which redirect external traffic to > different targets: nginx, openvpn, etc. Openmeetings 5.0.0-M3 minimal > installed in container behind nginx proxy and works well, except audio > and video. When I perform setup check after logged in (video camera > and microphone) I can see myself in camera and can also see increasing > and decreasing green line, which indicate microphone level, but I > can't save and replay the testing record. As far I understand the > problem is in NAT, so I had to use kurento server with TURN server. I > did that by adding the environment variables for kurento server in > docker container with the corresponding data for turn.anyfirewall.com: > > - KMS_STUN_IP=130.211.143.110 > - KMS_STUN_PORT=443 > - KMS_TURN_URL=webrtc:[email protected]:443?transport=tcp > and the same for openmeetings docker container: > > - TURN_USER=webrtc > - TURN_PASS=webrtc > - TURN_URL=130.211.143.110:443?transport=tcp > > After restarting it allowed me immediately to perform network test > (except ip ping), but not resolved the issue with camera and > microphone. > When I connect to OM server with help of vpn (so I and OM server are > in the same network) everything works as needed. I can save and replay > video, I can hear myself, two OM users connected by vpn to OM server > can talk to each other, etc. But it is not an option use vpn > connection... > I spent two days to find what I did wrong. I tried another TURN and > STUN servers, different type of configurations and so on, nothing > helped. > > Regards, > Yarema -- WBR Maxim aka solomax
