正在显示
1 个修改的文件
包含
3 行增加
和
4 行删除
| @@ -94,9 +94,8 @@ vhost __defaultVhost__ { | @@ -94,9 +94,8 @@ vhost __defaultVhost__ { | ||
| 94 | # vhost for dvr | 94 | # vhost for dvr |
| 95 | vhost dvr.srs.com { | 95 | vhost dvr.srs.com { |
| 96 | # dvr RTMP stream to file, | 96 | # dvr RTMP stream to file, |
| 97 | - # when encoder(FMLE/ffmpeg/flash) start to publish, | ||
| 98 | - # start the dvr and record RTMP to file(flv). | ||
| 99 | - # stop record when encoder stop to publish. | 97 | + # start to record to file when encoder publish, |
| 98 | + # reap flv according by specified dvr_plan. | ||
| 100 | dvr { | 99 | dvr { |
| 101 | # whether enabled dvr features | 100 | # whether enabled dvr features |
| 102 | # default: off | 101 | # default: off |
| @@ -115,7 +114,7 @@ vhost dvr.srs.com { | @@ -115,7 +114,7 @@ vhost dvr.srs.com { | ||
| 115 | dvr_path ./objs/nginx/html; | 114 | dvr_path ./objs/nginx/html; |
| 116 | # the dvr plan. canbe: | 115 | # the dvr plan. canbe: |
| 117 | # session reap flv when session end(unpublish). | 116 | # session reap flv when session end(unpublish). |
| 118 | - # segment reap flv when flv duration exceed the specified duration. | 117 | + # segment reap flv when flv duration exceed the specified dvr_duration. |
| 119 | # default: session | 118 | # default: session |
| 120 | dvr_plan session; | 119 | dvr_plan session; |
| 121 | # the param for plan(segment), in seconds. | 120 | # the param for plan(segment), in seconds. |
-
请 注册 或 登录 后发表评论