implement wait for moderator

This commit is contained in:
Josh
2018-05-08 10:41:03 -04:00
parent 4037b6304e
commit e6d01ef1b9
10 changed files with 78 additions and 5 deletions

View File

@ -38,7 +38,6 @@ class Meeting < ApplicationRecord
options[:meeting_logout_url] ||= nil
options[:moderator_message] ||= ''
options[:user_is_moderator] ||= false
options[:meeting_recorded] ||= false
#options[:wait_for_moderator] ||= false
@ -61,6 +60,12 @@ class Meeting < ApplicationRecord
bbb.join_meeting_url(uid, username, password)
end
# Fetches all recordings for a meeting.
def recordings
res = bbb.get_recordings(meetingID: uid)
res[:recordings]
end
# Checks if a meeting is running on the BigBlueButton server.
def is_running?
begin