diff --git a/include/uvgrtp/frame.hh b/include/uvgrtp/frame.hh index b5559f0..41870d4 100644 --- a/include/uvgrtp/frame.hh +++ b/include/uvgrtp/frame.hh @@ -24,11 +24,13 @@ namespace uvgrtp { namespace frame { enum RTCP_FRAME_TYPE { - RTCP_FT_SR = 200, /* Sender report */ - RTCP_FT_RR = 201, /* Receiver report */ - RTCP_FT_SDES = 202, /* Source description */ - RTCP_FT_BYE = 203, /* Goodbye */ - RTCP_FT_APP = 204 /* Application-specific message */ + RTCP_FT_SR = 200, /* Sender report */ + RTCP_FT_RR = 201, /* Receiver report */ + RTCP_FT_SDES = 202, /* Source description */ + RTCP_FT_BYE = 203, /* Goodbye */ + RTCP_FT_APP = 204, /* Application-specific message */ + RTCP_FT_RTPFB = 205, /* Transport layer FB message */ + RTCP_FT_PSFB = 206 /* Payload-specific FB message */ }; PACK(struct rtp_header { diff --git a/src/rtcp.cc b/src/rtcp.cc index fda6ccf..1d73b75 100644 --- a/src/rtcp.cc +++ b/src/rtcp.cc @@ -1225,6 +1225,14 @@ rtp_error_t uvgrtp::rtcp::handle_incoming_packet(void* args, int rce_flags, uint ret = handle_app_packet(buffer, read_ptr, packet_end, header); break; + case uvgrtp::frame::RTCP_FT_RTPFB: + UVG_LOG_INFO("Received a transport-layer FB message"); + break; + + case uvgrtp::frame::RTCP_FT_PSFB: + UVG_LOG_INFO("Received a payload-specific FB message"); + break; + default: UVG_LOG_WARN("Unknown packet received, type %d", header.pkt_type); break;