修改文件录制、hls生成、拉流代理逻辑

This commit is contained in:
xiongziliang
2018-02-07 11:16:43 +08:00
parent ae1b62c78f
commit 5ed2ce40fe
14 changed files with 160 additions and 133 deletions

View File

@@ -29,10 +29,6 @@
#include "Util/onceToken.h"
#include "Network/sockutil.h"
#ifndef UINT64_MAX
#define UINT64_MAX 0xFFFFFFFFFFFFFFFF
#endif//UINT64_MAX
using namespace ZL::Network;
namespace Config {
@@ -61,20 +57,6 @@ onceToken token([](){
},nullptr);
} //namespace Broadcast
//代理失败最大重试次数
namespace Proxy {
#define PROXY_FIELD "proxy."
#define PROXY_REPLAY_CNT (UINT64_MAX)
const char kReplayCount[] = PROXY_FIELD"replayCount";
onceToken token([](){
mINI::Instance()[kReplayCount] = PROXY_REPLAY_CNT;
},nullptr);
}//namespace Proxy
////////////HTTP配置///////////
namespace Http {
#define HTTP_FIELD "http."