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

For #820, extract service module.

This commit is contained in:
winlin 2017-03-26 10:16:21 +08:00
parent 0a57a46016
commit ff822b55cd
16 changed files with 510 additions and 213 deletions

View file

@ -34,6 +34,7 @@
#include <sys/resource.h>
#include <srs_app_st.hpp>
#include <srs_kernel_log.hpp>
class SrsKbps;
class SrsBuffer;
@ -47,7 +48,7 @@ extern int srs_socket_connect(std::string server, int port, int64_t tm, st_netfd
* convert level in string to log level in int.
* @return the log level defined in SrsLogLevel.
*/
extern int srs_get_log_level(std::string level);
extern SrsLogLevel srs_get_log_level(std::string level);
/**
* build the path according to vhost/app/stream, where replace variables: