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

use function to dumps the engine.

This commit is contained in:
winlin 2015-08-30 23:08:27 +08:00
parent 01878e5a9c
commit f8d8c3ace4
7 changed files with 192 additions and 111 deletions

View file

@ -329,11 +329,6 @@ public:
* dumps the http_api sections to json for raw api info.
*/
virtual int raw_to_json(SrsAmf0Object* obj);
private:
/**
* dumps the engine section to amf0 object.
*/
virtual int dumps_engine(SrsConfDirective* dir, SrsAmf0Object* engine);
public:
/**
* get the config file path.
@ -1086,6 +1081,10 @@ public:
* whether allow rpc query.
*/
virtual bool get_raw_api_allow_query();
/**
* whether allow rpc update.
*/
virtual bool get_raw_api_allow_update();
// http stream section
private:
/**