2015-01-03 04:54:54 +00:00
|
|
|
# the config for srs to dvr in custom path.
|
2015-11-11 02:45:45 +00:00
|
|
|
# @see https://github.com/ossrs/srs/wiki/v3_CN_DVR#custom-path
|
|
|
|
# @see https://github.com/ossrs/srs/wiki/v3_EN_DVR#custom-path
|
2015-01-03 04:54:54 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
|
|
listen 1935;
|
|
|
|
max_connections 1000;
|
2017-02-09 06:17:36 +00:00
|
|
|
daemon off;
|
|
|
|
srs_log_tank console;
|
2015-01-03 04:54:54 +00:00
|
|
|
vhost __defaultVhost__ {
|
|
|
|
dvr {
|
|
|
|
enabled on;
|
|
|
|
dvr_path ./objs/nginx/html/[app]/[stream]/[2006]/[01]/[02]/[15].[04].[05].[999].flv;
|
|
|
|
dvr_plan segment;
|
|
|
|
dvr_duration 30;
|
|
|
|
dvr_wait_keyframe on;
|
|
|
|
}
|
|
|
|
}
|