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:
parent
daa382fee5
commit
798f9139a4
12 changed files with 151 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue