|
|
|
|
41
|
session.granted_jitsi_meet_context_features,
|
41
|
session.granted_jitsi_meet_context_features,
|
42
|
occupant.role == 'moderator');
|
42
|
occupant.role == 'moderator');
|
43
|
|
43
|
|
44
|
- if jibri.attr.action == 'start' then
|
|
|
|
|
44
|
+ if jibri.attr.action == 'start' or jibri.attr.action == 'stop' then
|
45
|
if not is_allowed then
|
45
|
if not is_allowed then
|
46
|
module:log('info', 'Filtering jibri start recording, stanza:%s', tostring(stanza));
|
46
|
module:log('info', 'Filtering jibri start recording, stanza:%s', tostring(stanza));
|
47
|
session.send(st.error_reply(stanza, 'auth', 'forbidden'));
|
47
|
session.send(st.error_reply(stanza, 'auth', 'forbidden'));
|