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

For #913, config and log support complex error.

This commit is contained in:
winlin 2017-06-11 14:03:19 +08:00
parent 860aac3e50
commit b5c14938d9
13 changed files with 267 additions and 353 deletions

View file

@ -68,10 +68,8 @@ SrsFastLog::~SrsFastLog()
}
}
int SrsFastLog::initialize()
srs_error_t SrsFastLog::initialize()
{
int ret = ERROR_SUCCESS;
if (_srs_config) {
_srs_config->subscribe(this);
@ -80,7 +78,7 @@ int SrsFastLog::initialize()
utc = _srs_config->get_utc_time();
}
return ret;
return srs_success;
}
void SrsFastLog::reopen()