From 6c61fb0ccc71a6edc8764ad809e485b00cc254b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 1 Jan 2024 14:41:44 +0200 Subject: [PATCH] Actually parse feedback RTCP packets --- src/compound.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/compound.rs b/src/compound.rs index 01dd09a..133ebf9 100644 --- a/src/compound.rs +++ b/src/compound.rs @@ -190,6 +190,12 @@ impl<'a> RtcpPacketParser<'a> for Packet<'a> { } crate::Sdes::PACKET_TYPE => crate::Sdes::parse(data).map(Packet::Sdes), crate::SenderReport::PACKET_TYPE => crate::SenderReport::parse(data).map(Packet::Sr), + crate::PayloadFeedback::PACKET_TYPE => { + crate::PayloadFeedback::parse(data).map(Packet::PayloadFeedback) + } + crate::TransportFeedback::PACKET_TYPE => { + crate::TransportFeedback::parse(data).map(Packet::TransportFeedback) + } _ => Ok(Packet::Unknown(Unknown::parse(data)?)), } }