mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #179, support dvr http api. 2.0.123.
This commit is contained in:
parent
691f732204
commit
a3648063d5
5 changed files with 157 additions and 0 deletions
|
@ -314,6 +314,9 @@ vhost dvr.srs.com {
|
|||
# vhost, stop all dvr of this vhost.
|
||||
# response in json, where:
|
||||
# {code:0}
|
||||
# method=PUT, use as RPC(remote process call).
|
||||
# reap_segment, the request params in json, where:
|
||||
# {action:"reap_segment", vhost:"__defaultVhost", path_tmpl:"./[15].[04].[05].[999].flv"}
|
||||
# when reap segment, the callback POST request in json:
|
||||
# {action:"on_dvr_reap_segment", client_id:100, vhost:"__defaultVhost__",
|
||||
# app:"live", stream:"livestream", cwd:"/home/winlin/srs", file:"./dvr.flv"
|
||||
|
@ -322,6 +325,7 @@ vhost dvr.srs.com {
|
|||
# @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DVR#http-callback
|
||||
# @read https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_DVR#http-callback
|
||||
# default: session
|
||||
# TODO: FIXME: update wiki for the api plan.
|
||||
dvr_plan session;
|
||||
# the dvr output path.
|
||||
# we supports some variables to generate the filename.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue