mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 17:27:33 +08:00
重写rtp去冲突逻辑
This commit is contained in:
@@ -281,14 +281,11 @@ namespace RtpProxy {
|
||||
#define RTP_PROXY_FIELD "rtp_proxy."
|
||||
//rtp调试数据保存目录
|
||||
const string kDumpDir = RTP_PROXY_FIELD"dumpDir";
|
||||
//是否限制udp数据来源ip和端口
|
||||
const string kCheckSource = RTP_PROXY_FIELD"checkSource";
|
||||
//rtp接收超时时间
|
||||
const string kTimeoutSec = RTP_PROXY_FIELD"timeoutSec";
|
||||
|
||||
onceToken token([](){
|
||||
mINI::Instance()[kDumpDir] = "";
|
||||
mINI::Instance()[kCheckSource] = 1;
|
||||
mINI::Instance()[kTimeoutSec] = 15;
|
||||
},nullptr);
|
||||
} //namespace RtpProxy
|
||||
|
||||
@@ -301,8 +301,6 @@ extern const string kBroadcastRecordTs;
|
||||
namespace RtpProxy {
|
||||
//rtp调试数据保存目录,置空则不生成
|
||||
extern const string kDumpDir;
|
||||
//是否限制udp数据来源ip和端口
|
||||
extern const string kCheckSource;
|
||||
//rtp接收超时时间
|
||||
extern const string kTimeoutSec;
|
||||
} //namespace RtpProxy
|
||||
|
||||
Reference in New Issue
Block a user