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

support server cycle handler. 2.0.153.

This commit is contained in:
winlin 2015-03-31 18:06:55 +08:00
parent 3b4bd194b6
commit 717d088376
10 changed files with 85 additions and 15 deletions

View file

@ -288,7 +288,7 @@ int main(int argc, char** argv)
* 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) {
if ((ret = _srs_server->initialize(NULL)) != ERROR_SUCCESS) {
return ret;
}