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

refine code, rename the sync call to common class.

This commit is contained in:
winlin 2015-05-23 07:57:45 +08:00
parent 0bb90145ba
commit 2f0ef87d6d
6 changed files with 43 additions and 41 deletions

View file

@ -159,7 +159,7 @@ public:
/**
* the hls async call: on_hls
*/
class SrsDvrAsyncCallOnHls : public ISrsDvrAsyncCall
class SrsDvrAsyncCallOnHls : public ISrsAsyncCallTask
{
private:
std::string path;
@ -180,7 +180,7 @@ public:
/**
* the hls async call: on_hls_notify
*/
class SrsDvrAsyncCallOnHlsNotify : public ISrsDvrAsyncCall
class SrsDvrAsyncCallOnHlsNotify : public ISrsAsyncCallTask
{
private:
std::string ts_url;
@ -215,7 +215,7 @@ private:
double hls_aof_ratio;
double hls_fragment;
double hls_window;
SrsDvrAsyncCallThread* async;
SrsAsyncCallWorker* async;
private:
// whether use floor algorithm for timestamp.
bool hls_ts_floor;