From 3cc640f96e3c4d99ff76cfa7a1e01b487b117906 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Fri, 30 Apr 2021 09:24:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/config.cpp | 6 ------ src/Common/config.h | 4 ---- 2 files changed, 10 deletions(-) diff --git a/src/Common/config.cpp b/src/Common/config.cpp index 5fc2dc3a..47b8177a 100644 --- a/src/Common/config.cpp +++ b/src/Common/config.cpp @@ -190,16 +190,10 @@ namespace Rtp { //RTP打包最大MTU,公网情况下更小 const string kVideoMtuSize = RTP_FIELD"videoMtuSize"; const string kAudioMtuSize = RTP_FIELD"audioMtuSize"; -//RTP排序缓存最大个数 -const string kMaxRtpCount = RTP_FIELD"maxRtpCount"; -//如果RTP序列正确次数累计达到该数字就启动清空排序缓存 -const string kClearCount = RTP_FIELD"clearCount"; onceToken token([](){ mINI::Instance()[kVideoMtuSize] = 1400; mINI::Instance()[kAudioMtuSize] = 600; - mINI::Instance()[kMaxRtpCount] = 50; - mINI::Instance()[kClearCount] = 10; },nullptr); } //namespace Rtsp diff --git a/src/Common/config.h b/src/Common/config.h index 6b26ab3c..a104a789 100644 --- a/src/Common/config.h +++ b/src/Common/config.h @@ -247,10 +247,6 @@ namespace Rtp { extern const string kVideoMtuSize; //RTP打包最大MTU,公网情况下更小 extern const string kAudioMtuSize; -//RTP排序缓存最大个数 -extern const string kMaxRtpCount; -//如果RTP序列正确次数累计达到该数字就启动清空排序缓存 -extern const string kClearCount; } //namespace Rtsp ////////////组播配置///////////