Merge pull request #470 from bigbluebutton/fix-issue-1850
- fix issue https://code.google.com/p/bigbluebutton/issues/detail?id=18...
This commit is contained in:
commit
af9305ff92
@ -147,7 +147,7 @@ class MeetingActor(val meetingID: String, val externalMeetingID: String, val mee
|
||||
}
|
||||
|
||||
def startRecordingIfAutoStart() {
|
||||
if (!recording && autoStartRecording && users.numWebUsers == 1) {
|
||||
if (recorded && !recording && autoStartRecording && users.numWebUsers == 1) {
|
||||
logger.info("Auto start recording for meeting=[" + meetingID + "]")
|
||||
recording = true
|
||||
outGW.send(new RecordingStatusChanged(meetingID, recorded, "system", recording))
|
||||
@ -155,7 +155,7 @@ class MeetingActor(val meetingID: String, val externalMeetingID: String, val mee
|
||||
}
|
||||
|
||||
def stopAutoStartedRecording() {
|
||||
if (recording && autoStartRecording
|
||||
if (recorded && recording && autoStartRecording
|
||||
&& users.numWebUsers == 0) {
|
||||
logger.info("Last web user left. Auto stopping recording for meeting=[{}", meetingID)
|
||||
recording = false
|
||||
|
Loading…
Reference in New Issue
Block a user