删除无效配置

This commit is contained in:
xia-chu 2021-04-30 09:24:09 +08:00
parent 839420814e
commit 3cc640f96e
2 changed files with 0 additions and 10 deletions

View File

@ -190,16 +190,10 @@ namespace Rtp {
//RTP打包最大MTU,公网情况下更小 //RTP打包最大MTU,公网情况下更小
const string kVideoMtuSize = RTP_FIELD"videoMtuSize"; const string kVideoMtuSize = RTP_FIELD"videoMtuSize";
const string kAudioMtuSize = RTP_FIELD"audioMtuSize"; const string kAudioMtuSize = RTP_FIELD"audioMtuSize";
//RTP排序缓存最大个数
const string kMaxRtpCount = RTP_FIELD"maxRtpCount";
//如果RTP序列正确次数累计达到该数字就启动清空排序缓存
const string kClearCount = RTP_FIELD"clearCount";
onceToken token([](){ onceToken token([](){
mINI::Instance()[kVideoMtuSize] = 1400; mINI::Instance()[kVideoMtuSize] = 1400;
mINI::Instance()[kAudioMtuSize] = 600; mINI::Instance()[kAudioMtuSize] = 600;
mINI::Instance()[kMaxRtpCount] = 50;
mINI::Instance()[kClearCount] = 10;
},nullptr); },nullptr);
} //namespace Rtsp } //namespace Rtsp

View File

@ -247,10 +247,6 @@ namespace Rtp {
extern const string kVideoMtuSize; extern const string kVideoMtuSize;
//RTP打包最大MTU,公网情况下更小 //RTP打包最大MTU,公网情况下更小
extern const string kAudioMtuSize; extern const string kAudioMtuSize;
//RTP排序缓存最大个数
extern const string kMaxRtpCount;
//如果RTP序列正确次数累计达到该数字就启动清空排序缓存
extern const string kClearCount;
} //namespace Rtsp } //namespace Rtsp
////////////组播配置/////////// ////////////组播配置///////////