1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

support hls callback with duration.

This commit is contained in:
winlin 2015-04-03 14:24:47 +08:00
parent 64b065e450
commit 56cd373015

View file

@ -582,7 +582,7 @@ int SrsHlsMuxer::segment_close(string log_desc)
} }
// use async to call the http hooks, for it will cause thread switch. // use async to call the http hooks, for it will cause thread switch.
if ((ret = async->call(new SrsDvrAsyncCallOnHls(req, current->full_path, current->sequence_no))) != ERROR_SUCCESS) { if ((ret = async->call(new SrsDvrAsyncCallOnHls(req, current->full_path, current->sequence_no, current->duration))) != ERROR_SUCCESS) {
return ret; return ret;
} }