Skip to content

Commit

Permalink
set rtmp's record_interval to 5 minutes (restart rtmpd on deploy!)
Browse files Browse the repository at this point in the history
  • Loading branch information
branch14 committed Jun 10, 2014
1 parent c6f8766 commit 391c4d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/rtmp.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 391c4d5

Please sign in to comment.