mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 03:55:58 +08:00
修复media命令相关bug
This commit is contained in:
@@ -25,18 +25,20 @@
|
||||
*/
|
||||
|
||||
#include "ShellSession.h"
|
||||
#include "Common/config.h"
|
||||
#include "Util/CMD.h"
|
||||
#include "Util/onceToken.h"
|
||||
#include "Util/NoticeCenter.h"
|
||||
#include "Common/config.h"
|
||||
#include "ShellCMD.h"
|
||||
using namespace toolkit;
|
||||
|
||||
namespace mediakit {
|
||||
|
||||
extern void installShellCMD();
|
||||
static onceToken s_token([]() {
|
||||
REGIST_CMD(media);
|
||||
}, nullptr);
|
||||
|
||||
ShellSession::ShellSession(const Socket::Ptr &_sock) : TcpSession(_sock) {
|
||||
installShellCMD();
|
||||
pleaseInputUser();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user