mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #179, refine dvr, support callback when reap dvr segment.
This commit is contained in:
parent
849e59b05d
commit
1246989ea9
9 changed files with 281 additions and 50 deletions
|
@ -297,7 +297,8 @@ vhost dvr.srs.com {
|
|||
# vhost, query all dvr of this vhost.
|
||||
# response in json, where:
|
||||
# {code:0, dvrs: [{path_tmpl:"./[15].[04].[05].[999].flv", path_dvr:"./22.7.43.312.flv",
|
||||
# wait_keyframe:true, vhost:"__defaultVhost", callback:"http://dvr/callback"
|
||||
# wait_keyframe:true, vhost:"__defaultVhost", callback:"http://127.0.0.1:8085/api/v1/dvrs",
|
||||
# status:"stop"|"start"
|
||||
# }]}
|
||||
# method=POST
|
||||
# to start dvr of specified vhost.
|
||||
|
@ -313,6 +314,8 @@ vhost dvr.srs.com {
|
|||
# vhost, stop all dvr of this vhost.
|
||||
# response in json, where:
|
||||
# {code:0}
|
||||
# when reap segment, the callback POST request in json:
|
||||
# {action:"on_dvr_reap_segment"}
|
||||
# default: session
|
||||
dvr_plan session;
|
||||
# the dvr output path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue