From db2bfbe1dde875b7f734341562333abf741d5c3c Mon Sep 17 00:00:00 2001 From: Felipe Cecagno Date: Thu, 7 Mar 2019 11:53:44 -0300 Subject: [PATCH] disable chapter break by default --- .../scala/org/bigbluebutton/core/running/MeetingActor.scala | 3 ++- akka-bbb-apps/src/universal/conf/application.conf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActor.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActor.scala index 5cf811b39f..bca4d1599b 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActor.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActor.scala @@ -517,7 +517,8 @@ class MeetingActor( val elapsedInMs = now - lastRecBreakSentOn val elapsedInMin = TimeUtil.millisToMinutes(elapsedInMs) - if (elapsedInMin > recordingChapterBreakLenghtInMinutes) { + if (recordingChapterBreakLenghtInMinutes > 0 && + elapsedInMin > recordingChapterBreakLenghtInMinutes) { lastRecBreakSentOn = now val event = MsgBuilder.buildRecordingChapterBreakSysMsg(props.meetingProp.intId, TimeUtil.timeNowInMs()) outGW.send(event) diff --git a/akka-bbb-apps/src/universal/conf/application.conf b/akka-bbb-apps/src/universal/conf/application.conf index 591f22a88f..564f9aca84 100755 --- a/akka-bbb-apps/src/universal/conf/application.conf +++ b/akka-bbb-apps/src/universal/conf/application.conf @@ -84,7 +84,8 @@ voiceConf { } recording { - chapterBreakLengthInMinutes = 180 + # set zero to disable chapter break + chapterBreakLengthInMinutes = 0 } whiteboard {