I already have a configured Coturn running as STUN on my network, and I can’t get rid of it because other self-hosted services depend on it.
The simplest solution is to keep the STUN supplied with Netbird on a separate port, but is there a way to pair Netbird with coturn? As I read in the documentation, you can specify your own STUN server in the `stuns` section of config.yaml. Can this be a regular STUN server, or does it have to be a full-featured Netbird Relay? And if so, will Netbird work with a static-auth-secret?
It would be the netbirdio/relay:latest image, yes. So a full Netbird relay for that to function. Altough I can’t directly confirm that as this is something I haven’t even had.
What application in specific depends on your STUN server?
Both of these services can use HMAC authentication, but as far as I can see, Netbird only supports username and password; there is no mention of an auth secret for STUN in the source code. So, how can I get my coTurn and Netbird to work together? Is there a possibility of HMAC authentication support for STUN in the future?
If I switch my STUN to use a username and password, will my coTurn work with Netbird in that case?
And maybe I’m getting something wrong (I’m not that familiar with WebRTC), but aren’t those credentials needed for TURN? As I understand it, Netbird uses its own WebSocket Relay and doesn’t use TURN, am I right? In that case, can I just specify the stun: address in “stuns” srction?