diff --git a/README.md b/README.md index bff3ab7d4..f917d2f4f 100755 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ git clone https://gitlab.com/winlinvip/srs-gitlab.git
git clone https://github.com/simple-rtmp-server/srs && -cd simple-rtmp-server/trunk +cd srs/trunkStep 2: build SRS, diff --git a/trunk/src/app/srs_app_async_call.hpp b/trunk/src/app/srs_app_async_call.hpp index 42f334ff8..c20ac76bb 100644 --- a/trunk/src/app/srs_app_async_call.hpp +++ b/trunk/src/app/srs_app_async_call.hpp @@ -48,7 +48,16 @@ public: ISrsAsyncCallTask(); virtual ~ISrsAsyncCallTask(); public: + /** + * execute the task async. + * this method is the actual execute method of task, + * for example, to notify callback server. + */ virtual int call() = 0; + /** + * convert task to string to describe it. + * used for logger. + */ virtual std::string to_string() = 0; };