From 48a1f6ea6ce10824eaa5697de8778da37637f1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Sat, 9 Jan 2021 17:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9rtp=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=88=B3=E4=B8=80=E7=9B=B4=E4=B8=BA0=E7=9A=84=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtp/GB28181Process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rtp/GB28181Process.cpp b/src/Rtp/GB28181Process.cpp index 67e9b396..d0bc1500 100644 --- a/src/Rtp/GB28181Process.cpp +++ b/src/Rtp/GB28181Process.cpp @@ -48,7 +48,7 @@ void GB28181Process::onRtpSorted(const RtpPacket::Ptr &rtp, int) { WarnL << "rtp payload type未识别(" << (int) rtp->PT << "),已按ts或ps负载处理"; } //ts或ps负载 - _rtp_decoder = std::make_shared(CodecInvalid, 256 * 1024); + _rtp_decoder = std::make_shared(CodecInvalid, 32 * 1024); //设置dump目录 GET_CONFIG(string, dump_dir, RtpProxy::kDumpDir); if (!dump_dir.empty()) { @@ -123,4 +123,4 @@ void GB28181Process::onRtpDecode(const Frame::Ptr &frame) { } }//namespace mediakit -#endif//defined(ENABLE_RTPPROXY) \ No newline at end of file +#endif//defined(ENABLE_RTPPROXY)