Skip to content
Snippets Groups Projects
Verified Commit aa29f6ba authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Uprava formatu jmena souboru, records

parent 0943e709
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ rtmp {
on_publish http://pitube:3000/callback/rtmp;
on_publish_done http://pitube:3000/callback/rtmp;
on_update http://pitube:3000/callback/rtmp;
on_record_done http://pitube:3000/callback/recorder;
notify_update_timeout 15s;
hls on;
......@@ -25,7 +26,7 @@ rtmp {
recorder all {
record all manual;
record_suffix -%y%m%d-%h%m%s.flv;
record_suffix -%Y%m%d-%H%M%S.flv;
record_path /records;
record_unique on;
record_max_size 4000m;
......@@ -33,16 +34,12 @@ rtmp {
recorder audio {
record audio manual;
record_suffix -%y%m%d-%h%m%s.audio.flv;
record_suffix -%Y%m%d-%H%M%S.audio.flv;
record_path /records;
record_unique on;
record_max_size 500m;
}
}
}
}
......@@ -72,6 +69,12 @@ http {
add_header Access-Control-Allow-Origin *;
}
location /records {
auth_request /callback/record;
alias /records;
add_header Access-Control-Allow-Origin *;
}
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet static/stat.xsl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment