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 ////////////组播配置///////////