Files
srs/trunk/conf/dvr.segment.conf

22 lines
512 B
Plaintext
Raw Permalink Normal View History

2014-05-22 17:13:57 +08:00
# the config for srs to dvr in segment mode
2025-07-05 09:32:11 -04:00
# @see https://ossrs.io/lts/en-us/docs/v7/doc/dvr
2014-05-22 17:13:57 +08:00
# @see full.conf for detail config.
max_connections 1000;
2017-02-09 14:17:36 +08:00
daemon off;
srs_log_tank console;
# RTMP server configuration
rtmp {
listen 1935;
}
2014-05-22 17:13:57 +08:00
vhost __defaultVhost__ {
dvr {
enabled on;
2015-03-23 22:06:18 +08:00
dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].flv;
2014-05-22 17:13:57 +08:00
dvr_plan segment;
dvr_duration 30;
dvr_wait_keyframe on;
2014-05-22 17:13:57 +08:00
}
}