kunlang_video/deploy/srs/conf/record.conf
2026-05-09 10:51:10 +08:00

44 lines
803 B
Plaintext

listen 2935;
pid ./run/srs_record.pid;
srs_log_tank file;
srs_log_file ./log/srs_record.log;
max_connections 2000;
daemon off;
http_server {
enabled on;
listen 2980;
dir ./html;
}
http_api {
enabled on;
listen 2985;
}
stats {
network 0;
}
vhost record {
dvr {
enabled on;
dvr_plan segment;
dvr_duration 60;
dvr_apply all;
dvr_path /media/record/[stream]/[2006]-[01]-[02]/[15]/[15]-[04]-[05].mp4;
time_jitter full;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
rtc {
enabled off;
}
}