2
0

dvr.path.conf 593 B

123456789101112131415161718
  1. # the config for srs to dvr in custom path.
  2. # @see https://github.com/ossrs/srs/wiki/v3_CN_DVR#custom-path
  3. # @see https://github.com/ossrs/srs/wiki/v3_EN_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. }