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

fix #442: HTTP API kickoff client.

This commit is contained in:
lovacat 2015-08-11 15:23:46 +08:00
parent 0e3128d3e3
commit e8c0ca7af0
10 changed files with 121 additions and 18 deletions

2
trunk/src/app/srs_app_server.cpp Normal file → Executable file
View file

@ -806,7 +806,7 @@ int SrsServer::http_handle()
if ((ret = http_api_mux->handle("/api/v1/vhosts", new SrsGoApiVhosts())) != ERROR_SUCCESS) {
return ret;
}
if ((ret = http_api_mux->handle("/api/v1/streams", new SrsGoApiStreams())) != ERROR_SUCCESS) {
if ((ret = http_api_mux->handle("/api/v1/streams/", new SrsGoApiStreams())) != ERROR_SUCCESS) {
return ret;
}
#endif