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

Disable simulator API by default.

This commit is contained in:
winlin 2020-05-07 16:29:11 +08:00
parent fe01a504b6
commit db503975fb
5 changed files with 18 additions and 0 deletions

View file

@ -203,6 +203,7 @@ private:
srs_error_t check_remote_sdp(const SrsSdp& remote_sdp);
};
#ifdef SRS_SIMULATOR
class SrsGoApiRtcNACK : public ISrsHttpHandler
{
private:
@ -216,6 +217,7 @@ private:
virtual srs_error_t do_serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r, SrsJsonObject* res);
};
#endif
#endif
class SrsGoApiClients : public ISrsHttpHandler
{