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

for #319, http raw api support query. 3.0.3

This commit is contained in:
winlin 2015-08-31 23:34:03 +08:00
parent 8a2709dd2c
commit 11c409688b
5 changed files with 78 additions and 17 deletions

View file

@ -331,14 +331,15 @@ public:
virtual int raw_to_json(SrsAmf0Object* obj);
/**
* raw set the global listen.
* @param applied whether the config is applied.
*/
virtual int raw_set_listen(const std::vector<std::string>& eps, bool& applied);
private:
/**
* do reload listen, for reload from signal or raw api.
* raw set the global pid.
*/
virtual int raw_set_pid(std::string pid, bool& applied);
private:
virtual int do_reload_listen();
virtual int do_reload_pid();
public:
/**
* get the config file path.