recording: Allow configuring recording metadata to use https
This allows configuring a server to use https without having to edit any ruby files directly. (Ideally, the metadata files wouldn't include the server name/protocol at all; that should be set dynamically by bbb-web, but this is what we have for now.)
This commit is contained in:
parent
39cc6a80a6
commit
fc299487e4
@ -12,6 +12,7 @@ log_dir: /var/log/bigbluebutton
|
||||
recording_dir: /var/bigbluebutton/recording
|
||||
published_dir: /var/bigbluebutton/published
|
||||
playback_host: 10.0.3.203
|
||||
playback_protocol: http
|
||||
|
||||
# For DEVELOPMENT
|
||||
# This allows us to run the scripts manually
|
||||
|
@ -927,7 +927,8 @@ if ($playback == "presentation")
|
||||
$process_dir = "#{recording_dir}/process/presentation/#{$meeting_id}"
|
||||
BigBlueButton.logger.info("setting publish dir")
|
||||
publish_dir = simple_props['publish_dir']
|
||||
BigBlueButton.logger.info("setting playback host")
|
||||
BigBlueButton.logger.info("setting playback url info")
|
||||
playback_protocol = bbb_props['playback_protocol']
|
||||
playback_host = bbb_props['playback_host']
|
||||
BigBlueButton.logger.info("setting target dir")
|
||||
target_dir = "#{recording_dir}/publish/presentation/#{$meeting_id}"
|
||||
@ -995,7 +996,7 @@ if ($playback == "presentation")
|
||||
b.end_time(real_end_time)
|
||||
b.playback {
|
||||
b.format("presentation")
|
||||
b.link("http://#{playback_host}/playback/presentation/0.9.0/playback.html?meetingId=#{$meeting_id}")
|
||||
b.link("#{playback_protocol}://#{playback_host}/playback/presentation/0.9.0/playback.html?meetingId=#{$meeting_id}")
|
||||
b.processing_time("#{processing_time}")
|
||||
b.duration("#{recording_time}")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user