From 5656a7e4e0f951fd4b959d065dc532dc3f216550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 11 Jul 2025 19:58:49 +0300 Subject: [PATCH] rtprecv/rtpsend: Downgrade warning about incomplete RTP caps to a debug message When using bundled RTP streams the clock-rate has to come from the pt-map instead of the caps on the pad. Part-of: --- net/rtp/src/rtpbin2/rtprecv.rs | 4 ++-- net/rtp/src/rtpbin2/rtpsend.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/rtp/src/rtpbin2/rtprecv.rs b/net/rtp/src/rtpbin2/rtprecv.rs index e0d4c3c52..41a63634d 100644 --- a/net/rtp/src/rtpbin2/rtprecv.rs +++ b/net/rtp/src/rtpbin2/rtprecv.rs @@ -1390,10 +1390,10 @@ impl RtpRecv { session_inner.add_caps(caps); } } else { - gst::warning!( + gst::debug!( CAT, obj = pad, - "input caps are missing payload or clock-rate fields" + "input caps are missing payload or clock-rate fields, need to use pt-map" ); } true diff --git a/net/rtp/src/rtpbin2/rtpsend.rs b/net/rtp/src/rtpbin2/rtpsend.rs index 45a6bcb36..8ab5eca34 100644 --- a/net/rtp/src/rtpbin2/rtpsend.rs +++ b/net/rtp/src/rtpbin2/rtpsend.rs @@ -430,10 +430,10 @@ impl RtpSend { session.add_caps(caps.caps_owned()); } } else { - gst::warning!( + gst::debug!( CAT, obj = pad, - "input caps are missing payload or clock-rate fields" + "input caps are missing payload or clock-rate fields, need to use pt-map" ); } gst::Pad::event_default(pad, Some(&*self.obj()), event)