mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the startup logs.
This commit is contained in:
parent
3ab0ccaa27
commit
f187a7deef
10 changed files with 273 additions and 243 deletions
|
@ -82,6 +82,11 @@ extern std::string srs_path_build_timestamp(std::string template_path);
|
|||
extern void srs_parse_endpoint(std::string ip_port, std::string& ip, std::string& port);
|
||||
extern void srs_parse_endpoint(std::string ip_port, std::string& ip, int& port);
|
||||
|
||||
/**
|
||||
* convert bool to switch value, true to "on", false to "off".
|
||||
*/
|
||||
extern std::string srs_bool2switch(bool v);
|
||||
|
||||
/**
|
||||
* kill the pid by SIGINT, then wait to quit,
|
||||
* kill the pid by SIGKILL again when exceed the timeout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue