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:
parent
23a1b29935
commit
90dee0924d
6 changed files with 96 additions and 4 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue