dvr.segment.conf 471 B

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