diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/MeetingState2x.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/MeetingState2x.scala index 834ac8ae0e..677f3dabcc 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/MeetingState2x.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/MeetingState2x.scala @@ -23,6 +23,6 @@ object MeetingEndReason { val ENDED_WHEN_NOT_JOINED = "ENDED_WHEN_NOT_JOINED" val ENDED_WHEN_LAST_USER_LEFT = "ENDED_WHEN_LAST_USER_LEFT" val ENDED_AFTER_USER_LOGGED_OUT = "ENDED_AFTER_USER_LOGGED_OUT" - val ENDED_AFTER_EXCEEDING_DURATION = "ENDED_AFTER_USER_LOGGED_OUT" + val ENDED_AFTER_EXCEEDING_DURATION = "ENDED_AFTER_EXCEEDING_DURATION" val ENDED_BY_PARENT = "ENDED_BY_PARENT" } 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 bc1010e878..6255d374d7 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 @@ -346,6 +346,7 @@ class MeetingActor( state = newState expireReason foreach (reason => log.info("Meeting {} expired with reason {}", props.meetingProp.intId, reason)) val (newState2, expireReason2) = ExpiryTrackerHelper.processMeetingExpiryAudit(outGW, eventBus, liveMeeting, state) + state = newState2 expireReason2 foreach (reason => log.info("Meeting {} expired with reason {}", props.meetingProp.intId, reason)) } @@ -356,7 +357,7 @@ class MeetingActor( def startRecordingIfAutoStart() { if (props.recordProp.record && !MeetingStatus2x.isRecording(liveMeeting.status) && props.recordProp.autoStartRecording && Users2x.numUsers(liveMeeting.users2x) == 1) { - log.info("Auto start recording. meetingId={}", props.meetingProp.intId) + MeetingStatus2x.recordingStarted(liveMeeting.status) def buildRecordingStatusChangedEvtMsg(meetingId: String, userId: String, recording: Boolean): BbbCommonEnvCoreMsg = {