mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the macro SRS_FFMPEG to SRS_FFMPEG_STUB, SRS_FFMPEG_TOOL to build ffmpeg tool
This commit is contained in:
parent
70e73bc281
commit
eba35e2ac0
8 changed files with 31 additions and 27 deletions
|
@ -163,6 +163,9 @@ SrsServer::SrsServer()
|
|||
srs_assert(_srs_config);
|
||||
_srs_config->subscribe(this);
|
||||
|
||||
// donot new object in constructor,
|
||||
// for some global instance is not ready now,
|
||||
// new these objects in initialize instead.
|
||||
#ifdef SRS_HTTP_API
|
||||
http_api_handler = NULL;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue