2
0

dvr.path.conf 592 B

123456789101112131415161718
  1. # the config for srs to dvr in custom path.
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#custom-path
  3. # @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#custom-path
  4. # @see full.conf for detail config.
  5. listen 1935;
  6. max_connections 1000;
  7. daemon off;
  8. srs_log_tank console;
  9. vhost __defaultVhost__ {
  10. dvr {
  11. enabled on;
  12. dvr_path ./objs/nginx/html/[app]/[stream]/[2006]/[01]/[02]/[15].[04].[05].[999].flv;
  13. dvr_plan segment;
  14. dvr_duration 30;
  15. dvr_wait_keyframe on;
  16. }
  17. }