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:
parent
64b065e450
commit
56cd373015
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ int SrsHlsMuxer::segment_close(string log_desc)
|
|||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue