recording management

This commit is contained in:
Josh
2018-06-12 14:36:35 -04:00
parent 46bb456063
commit 39b687a58f
6 changed files with 53 additions and 17 deletions

View File

@ -0,0 +1,6 @@
# Send a request to check if the HTML5 client is enabled on the BigBlueButton server.
uri = URI.parse(Rails.configuration.bigbluebutton_endpoint.gsub('bigbluebutton/api', 'html5client/check'))
res = Net::HTTP.get_response(uri)
# Set the HTML5 status.
Rails.application.config.html5_enabled = (res.code.to_i == 200)