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

Refine code

This commit is contained in:
winlin 2020-09-30 11:14:49 +08:00
parent 4ccb83834d
commit 42a2dea5e0
5 changed files with 12 additions and 10 deletions

View file

@ -240,11 +240,12 @@ public:
virtual void on_logrotate() = 0;
};
// TODO: FIXME: Rename to SrsLiveServer.
// SRS RTMP server, initialize and listen, start connection service thread, destroy client.
class SrsServer : virtual public ISrsReloadHandler, virtual public ISrsSourceHandler, virtual public ISrsResourceManager
{
private:
// TODO: FIXME: rename to http_api
// TODO: FIXME: Extract an HttpApiServer.
SrsHttpServeMux* http_api_mux;
SrsHttpServer* http_server;
SrsHttpHeartbeat* http_heartbeat;