- change logic...it should publish recording when directory is NOT present
This commit is contained in:
parent
350d71b53e
commit
002460dc81
@ -30,7 +30,7 @@ if (playback == "matterhorn")
|
||||
|
||||
process_dir = "#{recording_dir}/process/matterhorn/#{meeting_id}"
|
||||
target_dir = "#{recording_dir}/publish/matterhorn/#{meeting_id}"
|
||||
if FileTest.directory?(target_dir)
|
||||
if not FileTest.directory?(target_dir)
|
||||
FileUtils.mkdir_p target_dir
|
||||
|
||||
FileUtils.cp("#{process_dir}/muxed-audio-webcam.flv", target_dir)
|
||||
|
Loading…
Reference in New Issue
Block a user