This feature request is to add a mechanism that would allow short-lived authentication to be used for the TURN server. I would imagine this would need to be extensible for different providers. The specific provider in mind here is cloudflare's current TURN server offering: https://developers.cloudflare.com/realtime/turn/generate-credentials/
There is a very healthy free tier available so it makes a good candidate for testing. Cloudflare does not allow creating long-lived credentials but does offer a very simple rest API endpoint that can be called with your credentials to return a username and credential based on the requested TTL.
I would imagine some backend process maybe using an expiring cache, would need to maintain a good known credential and be tasked with updating it.
Do you think this is a feature you would be willing to add?
This feature request is to add a mechanism that would allow short-lived authentication to be used for the TURN server. I would imagine this would need to be extensible for different providers. The specific provider in mind here is cloudflare's current TURN server offering: https://developers.cloudflare.com/realtime/turn/generate-credentials/
There is a very healthy free tier available so it makes a good candidate for testing. Cloudflare does not allow creating long-lived credentials but does offer a very simple rest API endpoint that can be called with your credentials to return a username and credential based on the requested TTL.
I would imagine some backend process maybe using an expiring cache, would need to maintain a good known credential and be tasked with updating it.
Do you think this is a feature you would be willing to add?