mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '2.0release' into develop
This commit is contained in:
commit
8951752086
2 changed files with 10 additions and 1 deletions
|
@ -95,7 +95,7 @@ git clone https://gitlab.com/winlinvip/srs-gitlab.git
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
git clone https://github.com/simple-rtmp-server/srs &&
|
git clone https://github.com/simple-rtmp-server/srs &&
|
||||||
cd simple-rtmp-server/trunk
|
cd srs/trunk
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<strong>Step 2:</strong> build SRS,
|
<strong>Step 2:</strong> build SRS,
|
||||||
|
|
|
@ -48,7 +48,16 @@ public:
|
||||||
ISrsAsyncCallTask();
|
ISrsAsyncCallTask();
|
||||||
virtual ~ISrsAsyncCallTask();
|
virtual ~ISrsAsyncCallTask();
|
||||||
public:
|
public:
|
||||||
|
/**
|
||||||
|
* execute the task async.
|
||||||
|
* this method is the actual execute method of task,
|
||||||
|
* for example, to notify callback server.
|
||||||
|
*/
|
||||||
virtual int call() = 0;
|
virtual int call() = 0;
|
||||||
|
/**
|
||||||
|
* convert task to string to describe it.
|
||||||
|
* used for logger.
|
||||||
|
*/
|
||||||
virtual std::string to_string() = 0;
|
virtual std::string to_string() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue