Software /
code /
prosody
Comparison
plugins/mod_turn_external.lua @ 12977:74b9e05af71e
plugins: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Mar 2023 13:15:28 +0100 |
parent | 12437:9f5d0b77e3df |
child | 13209:c8d949cf6b09 |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
1 local set = require "util.set"; | 1 local set = require "prosody.util.set"; |
2 | 2 |
3 local secret = module:get_option_string("turn_external_secret"); | 3 local secret = module:get_option_string("turn_external_secret"); |
4 local host = module:get_option_string("turn_external_host", module.host); | 4 local host = module:get_option_string("turn_external_host", module.host); |
5 local user = module:get_option_string("turn_external_user"); | 5 local user = module:get_option_string("turn_external_user"); |
6 local port = module:get_option_number("turn_external_port", 3478); | 6 local port = module:get_option_number("turn_external_port", 3478); |