diff --git a/config/rtmp.conf.erb b/config/rtmp.conf.erb index 88e7dde8c..8492555b9 100644 --- a/config/rtmp.conf.erb +++ b/config/rtmp.conf.erb @@ -29,7 +29,8 @@ rtmp { record_unique on; record_max_size <%= record_max_size %>; #record_lock on; - + record_interval <%= record_interval %>; + # --- Exec # # live transcode to wave file while recording # # (connection needs to be permitted by rack middleware) diff --git a/config/settings.yml b/config/settings.yml index e22434c8e..92a1ed6ae 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -26,7 +26,8 @@ rtmp: # callback_base must be an absolute url and is used for # notifications `/notify` and authentication `/auth` callback_base: 'http://0.0.0.0:3000/rtmp' - record_max_size: '100M' + record_max_size: 100M + record_interval: 5m authenticate: true worker_processes: 1 errbit: