From 19e92e56258bf797b760013d59fb8a7fe4c2091e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 15 Jul 2025 14:34:51 +0300 Subject: [PATCH] rtp: Update to rtcp-types 0.2 Part-of: --- Cargo.lock | 4 ++-- net/rtp/Cargo.toml | 2 +- net/rtp/src/rtpbin2/session.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e99eaee6f..d8619b154 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6887,9 +6887,9 @@ dependencies = [ [[package]] name = "rtcp-types" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce5248489db464de29835170cd1f6e19933146b0016789effc59cb53d9f13844" +checksum = "d0f21b493eabbc715ef2107c4e022874c06769047b3008a9b645a86ea8048f61" dependencies = [ "thiserror 1.0.69", ] diff --git a/net/rtp/Cargo.toml b/net/rtp/Cargo.toml index 504e0f6a0..50dcad98d 100644 --- a/net/rtp/Cargo.toml +++ b/net/rtp/Cargo.toml @@ -26,7 +26,7 @@ hex = "0.4.3" log = "0.4" rand = { version = "0.9", default-features = false, features = ["std", "std_rng", "thread_rng" ] } rtp-types = { version = "0.1" } -rtcp-types = { version = "0.1" } +rtcp-types = { version = "0.2" } slab = "0.4.9" smallvec = { version = "1.11", features = ["union", "write", "const_generics", "const_new"] } thiserror = "2" diff --git a/net/rtp/src/rtpbin2/session.rs b/net/rtp/src/rtpbin2/session.rs index 15de62b68..ae40733d5 100644 --- a/net/rtp/src/rtpbin2/session.rs +++ b/net/rtp/src/rtpbin2/session.rs @@ -731,7 +731,7 @@ impl Session { ); } } - Ok(Packet::TransportFeedback(_)) | Ok(Packet::Unknown(_)) => (), + Ok(Packet::TransportFeedback(_)) | Ok(Packet::Xr(_)) | Ok(Packet::Unknown(_)) => (), // TODO: in RFC4585 profile, need to listen for feedback messages and remove any // that we would have sent Err(_) => (),