From fbc8c2286e30191213941979bb726541b3a56408 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Fri, 23 Apr 2021 18:30:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=89=E5=BE=85=E6=B7=BB=E5=8A=A0fci?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=80=82=E9=85=8D=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtcp/Rtcp.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Rtcp/Rtcp.cpp b/src/Rtcp/Rtcp.cpp index e3c95927..c2c2d920 100644 --- a/src/Rtcp/Rtcp.cpp +++ b/src/Rtcp/Rtcp.cpp @@ -496,6 +496,14 @@ string RtcpFB::dumpString() const { auto fci = (uint8_t *)&ssrc_media + sizeof(ssrc_media); auto fci_len = getSize() - sizeof(RtcpFB); if (fci_len) { + switch ((RtcpType) pt) { + case RtcpType::RTCP_PSFB : { + break; + } + case RtcpType::RTCP_RTPFB : { + break; + } + } printer << "fci:" << hexdump(fci, fci_len); } return std::move(printer);