diff --git a/app/scripts/resources/scripts/app/conference_center/index.lua b/app/scripts/resources/scripts/app/conference_center/index.lua index 86f5404f81..7736623fe0 100644 --- a/app/scripts/resources/scripts/app/conference_center/index.lua +++ b/app/scripts/resources/scripts/app/conference_center/index.lua @@ -786,8 +786,12 @@ end --record the conference if (record == "true") then - cmd="sched_api +5 none lua "..scripts_dir.."/app/conference_center/resources/scripts/start_recording.lua "..meeting_uuid.." "..domain_name.." "..record_ext; - api:executeString(cmd); + if (wait_mod == "true" and member_type ~= "moderator") then + --don't start recording yet + else + cmd="sched_api +3 none lua "..scripts_dir.."/app/conference_center/resources/scripts/start_recording.lua "..meeting_uuid.." "..domain_name.." "..record_ext; + api:executeString(cmd); + end end --send the call to the conference cmd = meeting_uuid.."@"..domain_name.."@"..profile.."+flags{".. flags .."}";