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

fix bug of build script

This commit is contained in:
winlin 2014-04-15 14:24:03 +08:00
parent 23a1b29935
commit 90dee0924d
6 changed files with 96 additions and 4 deletions

View file

@ -494,15 +494,19 @@ int SrsHttpHandler::res_error(SrsSocket* skt, SrsHttpMessage* req, int code, str
return res_flush(skt, ss);
}
#ifdef SRS_AUTO_HTTP_API
SrsHttpHandler* SrsHttpHandler::create_http_api()
{
return new SrsApiRoot();
}
#endif
#ifdef SRS_AUTO_HTTP_SERVER
SrsHttpHandler* SrsHttpHandler::create_http_stream()
{
return new SrsHttpRoot();
}
#endif
SrsHttpMessage::SrsHttpMessage()
{