Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
FEAT: validate keys at specific URL for jibri queue Provide region value in POST to jibri-queue service
Aaron van Meertenad44558153b8
diff --git a/resources/prosody-plugins/mod_jibri_queue_component.lua b/resources/prosody-plugins/mod_jibri_queue_component.luaindex 785edcc530..acb4af5a82 100644--- a/resources/prosody-plugins/mod_jibri_queue_component.lua+++ b/resources/prosody-plugins/mod_jibri_queue_component.lua@@ -33,6 +33,13 @@ if parentCtx == nil thenendlocal token_util = module:require "token/util".new(parentCtx);+local ASAPKeyServer+ = module:get_option_string("asap_key_server");++if ASAPKeyServer then+ module:log("info", "ASAP Public Key URL %s", ASAPKeyServer);+ token_util:set_asap_key_server(ASAPKeyServer);+endlocal ASAPKeyPath= module:get_option_string("asap_key_path", '/etc/prosody/certs/asap.key');@@ -57,6 +64,9 @@ local ASAPKey;local queueServiceURL= module:get_option_string("jibri_queue_url");+local JibriRegion+ = module:get_option_string("jibri_region");+if queueServiceURL == nil thenlog("error", "No jibri_queue_url specified. No service to contact!");return;@@ -200,6 +210,7 @@ local function sendEvent(type,room_address,participant,requestId,replyIq,replyEr["participant"] = participant,["externalApiUrl"] = external_api_url.."/jibriqueue/update",["requestId"] = requestId,+ ["region"] = JibriRegion,}module:log("debug","Sending event %s",inspect(out_event));