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

fix hls bug, refine config and log, according to clion of jetbrains. 0.9.216.

This commit is contained in:
winlin 2014-09-26 17:47:43 +08:00
parent 002facb85b
commit 20ebf68ea5
7 changed files with 49 additions and 20 deletions

View file

@ -340,6 +340,11 @@ private:
* parse the config file, which is specified by cli.
*/
virtual int parse_file(const char* filename);
public:
/**
* check the parsed config.
*/
virtual int check_config();
protected:
/**
* parse config from the buffer.
@ -347,11 +352,6 @@ protected:
* @remark, use protected for the utest to override with mock.
*/
virtual int parse_buffer(_srs_internal::SrsConfigBuffer* buffer);
private:
/**
* check the parsed config.
*/
virtual int check_config();
// global env
public:
/**