Comparison

plugins/mod_external_services.lua @ 12685:4d75663d1552

mod_external_services: Update tools.ietf.org URL See bd9e006a7a74
author Kim Alvefur <zash@zash.se>
date Sat, 27 Aug 2022 17:19:13 +0200
parent 12431:95f33a006c03
child 12977:74b9e05af71e
comparison
equal deleted inserted replaced
12684:a8b59b1be359 12685:4d75663d1552
14 14
15 local configured_services = module:get_option_array("external_services", {}); 15 local configured_services = module:get_option_array("external_services", {});
16 16
17 local access = module:get_option_set("external_service_access", {}); 17 local access = module:get_option_set("external_service_access", {});
18 18
19 -- https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00 19 -- https://datatracker.ietf.org/doc/html/draft-uberti-behave-turn-rest-00
20 local function behave_turn_rest_credentials(srv, item, secret) 20 local function behave_turn_rest_credentials(srv, item, secret)
21 local ttl = default_ttl; 21 local ttl = default_ttl;
22 if type(item.ttl) == "number" then 22 if type(item.ttl) == "number" then
23 ttl = item.ttl; 23 ttl = item.ttl;
24 end 24 end