1234567891011121314151617 |
- # the config for srs to dvr in segment mode
- # @see https://github.com/ossrs/srs/wiki/v3_CN_DVR
- # @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].[timestamp].flv;
- dvr_plan segment;
- dvr_duration 30;
- dvr_wait_keyframe on;
- }
- }
|