正在显示
1 个修改的文件
包含
2 行增加
和
4 行删除
@@ -325,14 +325,12 @@ vhost hooks.callback.srs.com { | @@ -325,14 +325,12 @@ vhost hooks.callback.srs.com { | ||
325 | # when dvr got flv header, call the hook, | 325 | # when dvr got flv header, call the hook, |
326 | # the request in the POST data string is a object encode by json: | 326 | # the request in the POST data string is a object encode by json: |
327 | # { | 327 | # { |
328 | - # "action": "on_dvr_reap_flv", | 328 | + # "action": "on_dvr_reap_flv_header", |
329 | # "vhost": "video.test.com", "app": "live", | 329 | # "vhost": "video.test.com", "app": "live", |
330 | # "stream": "livestream", | 330 | # "stream": "livestream", |
331 | # "segment": { | 331 | # "segment": { |
332 | # "cwd": "/usr/local/srs", | 332 | # "cwd": "/usr/local/srs", |
333 | - # "path": "./objs/nginx/html/live/livestream.1398315892865.flv", | ||
334 | - # "duration": 1001, "offset":0, | ||
335 | - # "has_keyframe": true, "pts":1398315895958 | 333 | + # "path": "./objs/nginx/html/live/livestream.header.flv" |
336 | # } | 334 | # } |
337 | # } | 335 | # } |
338 | # when dvr reap flv file, call the hook, | 336 | # when dvr reap flv file, call the hook, |
-
请 注册 或 登录 后发表评论