mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #2881: HTTP: Support merging api to server. v5.0.47
This commit is contained in:
parent
6508a082e9
commit
457738f6eb
34 changed files with 333 additions and 934 deletions
|
@ -485,7 +485,7 @@ srs_error_t SrsRtcServer::listen_api()
|
|||
srs_error_t err = srs_success;
|
||||
|
||||
// TODO: FIXME: Fetch api from hybrid manager, not from SRS.
|
||||
SrsHttpServeMux* http_api_mux = _srs_hybrid->srs()->instance()->api_server();
|
||||
ISrsHttpServeMux* http_api_mux = _srs_hybrid->srs()->instance()->api_server();
|
||||
|
||||
if ((err = http_api_mux->handle("/rtc/v1/play/", new SrsGoApiRtcPlay(this))) != srs_success) {
|
||||
return srs_error_wrap(err, "handle play");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue