rtpbin: Don't do any timestamp offsetting in rfc7273-sync=true mode

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1160

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6543>
This commit is contained in:
Sebastian Dröge 2024-04-17 13:21:08 +03:00 committed by GStreamer Marge Bot
parent 4612a6795a
commit 70a435c0c4

View file

@ -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;