Skip to content
Snippets Groups Projects
Commit 547249b4 authored by Richard Alam's avatar Richard Alam
Browse files

- set meeting inactivity check to zero as default which disables the check. When set to

   zero, the meeting won't end due to inactivity.
parent eb4c67d5
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,11 @@ case class MeetingInactivityTracker(
}
def isMeetingInactive(nowInMs: Long): Boolean = {
warningSent && (nowInMs - lastActivityTimestampInMs) > maxInactivityTimeoutInMs
if (maxInactivityTimeoutInMs > 0) {
warningSent && (nowInMs - lastActivityTimestampInMs) > maxInactivityTimeoutInMs
} else {
false
}
}
def timeLeftInMs(nowInMs: Long): Long = {
......
......@@ -141,8 +141,9 @@ defaultMaxUsers=0
defaultMeetingDuration=0
# Number of minutes elapse of no activity before
# ending the meeting
maxInactivityTimeoutMinutes=120
# ending the meeting. Default zero (0) to disable
# check.
maxInactivityTimeoutMinutes=0
# Number of minutes to logout client if user
# isn't responsive
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment