mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
remove flashP2P hss dvr, for it's a can-not-run feature. 0.9.178
This commit is contained in:
parent
83d1e7288c
commit
79c641e8d6
11 changed files with 3 additions and 598 deletions
|
@ -179,8 +179,6 @@ vhost dvr.srs.com {
|
|||
# dvr RTMP stream to file,
|
||||
# start to record to file when encoder publish,
|
||||
# reap flv according by specified dvr_plan.
|
||||
# http callbacks:
|
||||
# @see http callback on_dvr_hss_reap_flv on http_hooks section.
|
||||
dvr {
|
||||
# whether enabled dvr features
|
||||
# default: off
|
||||
|
@ -200,7 +198,6 @@ vhost dvr.srs.com {
|
|||
# the dvr plan. canbe:
|
||||
# session reap flv when session end(unpublish).
|
||||
# segment reap flv when flv duration exceed the specified dvr_duration.
|
||||
# hss reap flv required by bravo(chnvideo.com) p2p system.
|
||||
# default: session
|
||||
dvr_plan session;
|
||||
# the param for plan(segment), in seconds.
|
||||
|
@ -405,38 +402,6 @@ vhost hooks.callback.srs.com {
|
|||
# support multiple api hooks, format:
|
||||
# on_stop http://xxx/api0 http://xxx/api1 http://xxx/apiN
|
||||
on_stop http://127.0.0.1:8085/api/v1/sessions http://localhost:8085/api/v1/sessions;
|
||||
#
|
||||
# for dvr(dvr_plan is hss).
|
||||
# when dvr got flv header, call the hook,
|
||||
# the request in the POST data string is a object encode by json:
|
||||
# {
|
||||
# "action": "on_dvr_hss_reap_flv_header",
|
||||
# "vhost": "video.test.com", "app": "live",
|
||||
# "stream": "livestream",
|
||||
# "segment": {
|
||||
# "cwd": "/usr/local/srs",
|
||||
# "path": "./objs/nginx/html/live/livestream.header.flv"
|
||||
# }
|
||||
# }
|
||||
# when dvr reap flv file, call the hook,
|
||||
# the request in the POST data string is a object encode by json:
|
||||
# {
|
||||
# "action": "on_dvr_hss_reap_flv",
|
||||
# "vhost": "video.test.com", "app": "live",
|
||||
# "stream": "livestream",
|
||||
# "segment": {
|
||||
# "cwd": "/usr/local/srs",
|
||||
# "path": "./objs/nginx/html/live/livestream.1398315892865.flv",
|
||||
# "duration": 1001, "offset":0,
|
||||
# "has_keyframe": true, "pts":1398315895958
|
||||
# }
|
||||
# }
|
||||
# if valid, the hook must return HTTP code 200(Stauts OK) and response
|
||||
# an int value specifies the error code(0 corresponding to success):
|
||||
# 0
|
||||
# support multiple api hooks, format:
|
||||
# on_stop http://xxx/api0 http://xxx/api1 http://xxx/apiN
|
||||
on_dvr_hss_reap_flv http://127.0.0.1:8085/api/v1/dvrs http://localhost:8085/api/v1/dvrs;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue