1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update readme

This commit is contained in:
winlin 2014-04-24 17:46:10 +08:00
parent 3ed59f190b
commit bfd1d07827

View file

@ -325,14 +325,12 @@ vhost hooks.callback.srs.com {
# when dvr got flv header, call the hook, # when dvr got flv header, call the hook,
# the request in the POST data string is a object encode by json: # the request in the POST data string is a object encode by json:
# { # {
# "action": "on_dvr_reap_flv", # "action": "on_dvr_reap_flv_header",
# "vhost": "video.test.com", "app": "live", # "vhost": "video.test.com", "app": "live",
# "stream": "livestream", # "stream": "livestream",
# "segment": { # "segment": {
# "cwd": "/usr/local/srs", # "cwd": "/usr/local/srs",
# "path": "./objs/nginx/html/live/livestream.1398315892865.flv", # "path": "./objs/nginx/html/live/livestream.header.flv"
# "duration": 1001, "offset":0,
# "has_keyframe": true, "pts":1398315895958
# } # }
# } # }
# when dvr reap flv file, call the hook, # when dvr reap flv file, call the hook,