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

For #1638, #307, extract rtc server to hybrid manager.

This commit is contained in:
winlin 2020-03-17 17:56:37 +08:00
parent 4318d989a6
commit 2c4dc0fb3d
9 changed files with 141 additions and 136 deletions

View file

@ -168,10 +168,9 @@ public:
class SrsGoApiSdp : public ISrsHttpHandler
{
private:
SrsServer* server;
SrsRtcServer* rtc_server;
public:
SrsGoApiSdp(SrsServer* svr, SrsRtcServer* rtc_svr);
SrsGoApiSdp(SrsRtcServer* rtc_svr);
virtual ~SrsGoApiSdp();
public:
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);