turn
turn copied to clipboard
Support TURN only or STUN only mode for examples/turn-server
Currently if someone wants to only support STUN... they can't disable the TURN server being available. The module should allow you to configure this behaviour in server setup.
I assume you are referring to examples/turn-server
?
From what I could see in the code... there's no way to use the module in a STUN only way?
No, turn.Server
currently does not support filtering which messages are supported.
If we would add support for it, I would propose to add support for a message handler which would check whether a given message class is supported. Just like we already have handlers for validating permissions and authentication requests.