mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
添加读写配置文件
This commit is contained in:
parent
8db012775b
commit
60590c1de7
@ -26,6 +26,7 @@
|
|||||||
#include "Thread/WorkThreadPool.h"
|
#include "Thread/WorkThreadPool.h"
|
||||||
#include "Device/PlayerProxy.h"
|
#include "Device/PlayerProxy.h"
|
||||||
#include "Shell/ShellSession.h"
|
#include "Shell/ShellSession.h"
|
||||||
|
#include "Common/config.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ZL::Util;
|
using namespace ZL::Util;
|
||||||
@ -43,7 +44,7 @@ void programExit(int arg) {
|
|||||||
int main(int argc,char *argv[]){
|
int main(int argc,char *argv[]){
|
||||||
signal(SIGINT, programExit);
|
signal(SIGINT, programExit);
|
||||||
Logger::Instance().add(std::make_shared<ConsoleChannel>("stdout", LTrace));
|
Logger::Instance().add(std::make_shared<ConsoleChannel>("stdout", LTrace));
|
||||||
|
Config::loaIniConfig();
|
||||||
//support rtmp and rtsp url
|
//support rtmp and rtsp url
|
||||||
//just support H264+AAC
|
//just support H264+AAC
|
||||||
auto urlList = {"rtmp://live.hkstv.hk.lxdns.com/live/hks",
|
auto urlList = {"rtmp://live.hkstv.hk.lxdns.com/live/hks",
|
||||||
|
Loading…
Reference in New Issue
Block a user