添加shell相关代码

This commit is contained in:
xiongziliang
2019-12-24 16:09:09 +08:00
parent 4e0919d13b
commit a3c482c1ef
3 changed files with 22 additions and 0 deletions

View File

@@ -132,6 +132,13 @@ API_EXPORT uint16_t API_CALL mk_rtmp_server_start(uint16_t port, int ssl);
*/
API_EXPORT uint16_t API_CALL mk_rtp_server_start(uint16_t port);
/**
* 创建shell服务器
* @param port shell监听端口
* @return 0:失败,非0:端口号
*/
API_EXPORT uint16_t API_CALL mk_shell_server_start(uint16_t port);
/**
* 打印日志
* @param level 日志级别,支持0~4