mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, do not apply when config not changed.
This commit is contained in:
parent
a62c82bd46
commit
8a2709dd2c
3 changed files with 78 additions and 13 deletions
|
@ -331,8 +331,14 @@ 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);
|
||||
virtual int raw_set_listen(const std::vector<std::string>& eps, bool& applied);
|
||||
private:
|
||||
/**
|
||||
* do reload listen, for reload from signal or raw api.
|
||||
*/
|
||||
virtual int do_reload_listen();
|
||||
public:
|
||||
/**
|
||||
* get the config file path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue