How to use Turn Server with Auth Secret for WebRTC?


I use my own TURN Server to do WebRTC Video or Audio Calls.
My TURN Server currently have to use the “Auth Secret” method.
Is it possible to use a TURN server in Rocket.Chat that uses Auth Secret instead of

username: password @ stun: host: port ?

how can I set this up in the admin area?

Server Setup Information

  • Version of Rocket.Chat Server: 3.9.3
  • Operating System: Ubuntu 20.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.18.4
  • MongoDB Version: 3.6.14
  • Proxy:nginx
  • Firewalls involved:

The one downside of hosting coturn on the signaling server (or a dedicated media server) is there’s a collision on port 443. One of the major reasons to deploy a turn server is a lot of large enterprise environments really only allow TCP/443, and in some instances, HTTP CONNECT via 443 9Apps Showbox Tutuapp.