FIX: use correct URL paths for jibri queue service
This commit is contained in:
parent
7858f12df2
commit
d70f9d6fd6
|
@ -207,7 +207,11 @@ local function sendEvent(type,room_address,participant,requestId,replyIq,replyEr
|
||||||
headers['Authorization'] = generateToken()
|
headers['Authorization'] = generateToken()
|
||||||
|
|
||||||
module:log("debug","Sending headers %s",inspect(headers));
|
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,
|
headers = headers,
|
||||||
method = "POST",
|
method = "POST",
|
||||||
body = json.encode(out_event)
|
body = json.encode(out_event)
|
||||||
|
|
Loading…
Reference in New Issue