Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

FIX: use correct URL paths for jibri queue service

Aaron van Meertend70f9d6fd6dd
diff --git a/resources/prosody-plugins/mod_jibri_queue_component.lua b/resources/prosody-plugins/mod_jibri_queue_component.lua
index bee24a56cd..785edcc530 100644
--- a/resources/prosody-plugins/mod_jibri_queue_component.lua
+++ b/resources/prosody-plugins/mod_jibri_queue_component.lua
@@ -207,7 +207,11 @@ local function sendEvent(type,room_address,participant,requestId,replyIq,replyEr
headers['Authorization'] = generateToken()
module:log("debug","Sending headers %s",inspect(headers));
- local request = http.request(queueServiceURL, {
+ local requestURL = queueServiceURL.."/job/recording"
+ if type=="LeaveQueue" then
+ requestURL = requestURL .."/cancel"
+ end
+ local request = http.request(requestURL, {
headers = headers,
method = "POST",
body = json.encode(out_event)