You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support TURN only or STUN only mode for examples/turn-server #283
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.
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.
@adrianosela@rg0now What do you think of adding a OnMessage handler? Users could just return false if a message should be dropped and that would allow us to filter all non stun.MethodBinding messages?
Also unlocks users that want to do custom filtering/logging!
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.