From 70a435c0c437913522ac59c82bcb4a51df63fb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 17 Apr 2024 13:21:08 +0300 Subject: [PATCH] rtpbin: Don't do any timestamp offsetting in rfc7273-sync=true mode Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1160 Part-of: --- subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c index 4389df56f4..adc570a4e1 100644 --- a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c +++ b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c @@ -1463,6 +1463,13 @@ gst_rtp_bin_associate (GstRtpBin * bin, GstRtpBinStream * stream, guint8 len, guint64 base_rtptime, guint64 base_time, guint clock_rate, gint64 rtp_clock_base) { + /* Don't do any stream offsetting in RFC7273 sync mode. Everything is + * handled inside rtpjitterbuffer for this case. */ + if (bin->rfc7273_sync) { + GST_DEBUG_OBJECT (bin, "Doing RFC7273 sync"); + return; + } + GstRtpBinClient *client; gboolean created; GSList *walk;