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:
parent
01878e5a9c
commit
f8d8c3ace4
7 changed files with 192 additions and 111 deletions
|
@ -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:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue