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

Refine on_hls duration in time unit

This commit is contained in:
winlin 2019-04-15 07:53:29 +08:00
parent 5f3d09c8a0
commit 980c32aee6
4 changed files with 8 additions and 8 deletions

View file

@ -91,10 +91,10 @@ private:
std::string m3u8_url;
int seq_no;
SrsRequest* req;
double duration;
srs_utime_t duration;
public:
// TODO: FIXME: Use TBN 1000.
SrsDvrAsyncCallOnHls(int c, SrsRequest* r, std::string p, std::string t, std::string m, std::string mu, int s, double d);
SrsDvrAsyncCallOnHls(int c, SrsRequest* r, std::string p, std::string t, std::string m, std::string mu, int s, srs_utime_t d);
virtual ~SrsDvrAsyncCallOnHls();
public:
virtual srs_error_t call();