Archive the webcam files from kurento webcam sharing

This commit is contained in:
Calvin Walton 2018-04-24 14:51:37 -04:00
parent 3e4a310418
commit c45fa74da0
2 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,7 @@ redis_host = props['redis_host']
redis_port = props['redis_port']
presentation_dir = props['raw_presentation_src']
video_dir = props['raw_video_src']
kurento_video_dir = props['kurento_video_src']
log_dir = props['log_dir']
BigBlueButton.logger = Logger.new("#{log_dir}/archive-#{meeting_id}.log", 'daily' )
@ -140,6 +141,7 @@ if not FileTest.directory?(target_dir)
archive_deskshare(meeting_id, deskshare_dir, raw_archive_dir)
archive_screenshare(meeting_id, screenshare_dir, raw_archive_dir)
archive_video(meeting_id, video_dir, raw_archive_dir)
archive_video(meeting_id, kurento_video_dir, raw_archive_dir)
if not archive_has_recording_marks?(meeting_id, raw_archive_dir)
BigBlueButton.logger.info("There's no recording marks for #{meeting_id}, not processing recording.")

View File

@ -1,6 +1,7 @@
bbb_version: '2.0.0'
raw_audio_src: /var/freeswitch/meetings
raw_video_src: /usr/share/red5/webapps/video/streams
kurento_video_src: /var/kurento/recordings
raw_screenshare_src: /usr/share/red5/webapps/screenshare/streams
raw_webrtc_deskshare_src: /usr/share/red5/webapps/video-broadcast/streams
raw_deskshare_src: /var/bigbluebutton/deskshare