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

Refactor RTC, rename variables.

This commit is contained in:
winlin 2020-05-03 13:49:53 +08:00
parent 9c8b7279f0
commit a23f102874
4 changed files with 171 additions and 173 deletions

View file

@ -173,9 +173,9 @@ class SrsGoApiRtcPlay : public ISrsHttpHandler
public:
static uint32_t ssrc_num;
private:
SrsRtcServer* rtc_server;
SrsRtcServer* server_;
public:
SrsGoApiRtcPlay(SrsRtcServer* rtc_svr);
SrsGoApiRtcPlay(SrsRtcServer* server);
virtual ~SrsGoApiRtcPlay();
public:
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);
@ -190,9 +190,9 @@ class SrsGoApiRtcPublish : public ISrsHttpHandler
public:
static uint32_t ssrc_num;
private:
SrsRtcServer* rtc_server;
SrsRtcServer* server_;
public:
SrsGoApiRtcPublish(SrsRtcServer* rtc_svr);
SrsGoApiRtcPublish(SrsRtcServer* server);
virtual ~SrsGoApiRtcPublish();
public:
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);