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

for hls callback, add duration of ts.

This commit is contained in:
winlin 2015-04-03 13:46:44 +08:00
parent c4466a8c0c
commit 64b065e450
6 changed files with 16 additions and 8 deletions

View file

@ -164,8 +164,9 @@ private:
std::string path;
int seq_no;
SrsRequest* req;
double duration;
public:
SrsDvrAsyncCallOnHls(SrsRequest* r, std::string p, int s);
SrsDvrAsyncCallOnHls(SrsRequest* r, std::string p, int s, double d);
virtual ~SrsDvrAsyncCallOnHls();
public:
virtual int call();