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

enhance hls in floor mode.

This commit is contained in:
winlin 2015-03-31 17:03:14 +08:00
parent 76c1957260
commit 97442c56b6
3 changed files with 15 additions and 5 deletions

View file

@ -253,7 +253,7 @@ class RESTDvrs(object):
return json.dumps(dvrs)
'''
for SRS hook: on_dvr, on_dvr_reap_segment
for SRS hook: on_dvr,
on_dvr:
when srs reap a dvr file, call the hook,
the request in the POST data string is a object encode by json:
@ -346,7 +346,7 @@ class RESTHls(object):
return json.dumps(hls)
'''
for SRS hook: on_dvr, on_dvr_reap_segment
for SRS hook: on, on_dvr_reap_segment
on_dvr:
when srs reap a dvr file, call the hook,
the request in the POST data string is a object encode by json: