mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
added example nginx.conf
This commit is contained in:
@ -30,9 +30,12 @@ rtmp {
|
||||
|
||||
live on;
|
||||
|
||||
record /tmp;
|
||||
record keyframes;
|
||||
record_path /tmp/flv;
|
||||
|
||||
record_size 1000000;
|
||||
record_max_size 128K;
|
||||
#record_max_frames 4;
|
||||
record_interval 30s;
|
||||
|
||||
on_publish http://localhost:8080/publish;
|
||||
on_play http://localhost:8080/play;
|
||||
|
Reference in New Issue
Block a user