talk icon indicating copy to clipboard operation
talk copied to clipboard

TURN REST API Credentials

Open vsviridov opened this issue 3 years ago • 0 comments

Problem

  • If I want to use my own TURN/STUN server, this requires generating ephemeral credentials, to avoid compromising long-term credentials, as those would be exposed in the source code.

Solution

  • Generate an ephemeral credential server-side, and provide it to each client via socket.io connection

Notes

Tested against a local coturn server

vsviridov avatar Dec 28 '22 01:12 vsviridov