GNOME Bugzilla – Bug 797249
big timestamp jumps create problems in gst_rtp_buffer_ext_timestamp()
Last modified: 2018-11-03 12:10:43 UTC
Hi, the current implementation returns 0 for a large jump and does not change the exttimestamp. So if I intentionally jump > G_MAXINT32 and when my new timestamp is <= G_MAXUINT32, I not only lose the one package with the big jump, but also all following packages.
If I'm using a pipeline with rtp_jitterbuffer and have a rtp stream with these jumps in the timestamps, sending events to this pipeline hangs until I kill the process.
This looks kind of related to https://bugzilla.gnome.org/show_bug.cgi?id=783443
I am seeing that some cameras get stuck with RTCP.SR RTP-timestamp stuck close to 0 (below 22000 and above 4294650000) since the gst_rtp_buffer_ext_timestamp() function keeps returning zero in some cases when a new stream is started. When this happens the print "Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp" starts spamming. Is that anything anyone else has noticed? Do you have a suggested fix? (The above comment was also added to 783443)
(In reply to Alexander Kordecki from comment #1) > If I'm using a pipeline with rtp_jitterbuffer and have a rtp stream with > these jumps in the timestamps, sending events to this pipeline hangs until I > kill the process. for clarification: hanging of the pipeline doesn't depend on the timestamp problem.
So the timestamp problem is solved now, but there's a separate, independent problem? Can you file a new bug about that hang, with a testcase to reproduce it, etc?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/491.