Matthew Wild
1426d52e39
mod_turn_external: Update status and friendlier handling of missing secret option ( fixes #1727 )
4 years ago
Kim Alvefur
71ad48095d
plugins: Use integer config API with interval specification where sensible
...
Many of these fall into a few categories:
- util.cache size, must be >= 1
- byte or item counts that logically can't be negative
- port numbers that should be in 1..0xffff
2 years ago
Kim Alvefur
1987a7411f
plugins: Switch to :get_option_period() for time range options
...
Improves readability ("1 day" vs 86400) and centralizes validation.
2 years ago
Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
3 years ago
Kim Alvefur
84f93f2336
mod_turn_external: Fix type of config option (thanks mirux)
...
There was a separate boolean option to enable TLS before, but it was
merged with the port number option and it seems the typed API interface
got confused.
4 years ago
Kim Alvefur
5ed39f2a09
mod_turn_external: Add option to enable TURN over TLS
...
Usually on port 443 to avoid restrictive firewalls.
Thanks to Holger for discussion
4 years ago
Kim Alvefur
d92ceb3adb
mod_turn_external: Simplify configuration
...
Much harder to get boolean options wrong than accidentally adding
something unrecognised to a Set.
4 years ago
Kim Alvefur
f36c48ffb0
mod_turn_external: Simple module to offer TURN(+STUN) via mod_external_services
5 years ago