mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the config, support directly parse file.
This commit is contained in:
parent
b8e70f8538
commit
fbbe46d272
6 changed files with 66 additions and 48 deletions
|
@ -351,11 +351,11 @@ private:
|
|||
* print help and exit.
|
||||
*/
|
||||
virtual void print_help(char** argv);
|
||||
public:
|
||||
/**
|
||||
* parse the config file, which is specified by cli.
|
||||
*/
|
||||
virtual int parse_file(const char* filename);
|
||||
public:
|
||||
/**
|
||||
* check the parsed config.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue