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

add reload utest.

This commit is contained in:
winlin 2014-08-05 09:16:25 +08:00
parent daa382fee5
commit 798f9139a4
12 changed files with 151 additions and 42 deletions

View file

@ -101,6 +101,11 @@ int main(int argc, char** argv)
srs_trace("arm tool chain: "SRS_AUTO_EMBEDED_TOOL_CHAIN);
#endif
/**
* we do nothing in the constructor of server,
* and use initialize to create members, set hooks for instance the reload handler,
* all initialize will done in this stage.
*/
if ((ret = _srs_server->initialize()) != ERROR_SUCCESS) {
return ret;
}