mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
592 B
Plaintext
19 lines
592 B
Plaintext
# the config for srs to dvr in custom path.
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#custom-path
|
|
# @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#custom-path
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
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;
|
|
}
|
|
}
|