rtsp / rtp time rtp delta too big, reset skew

desjare eric.desjardins at redpillvr.com
Tue May 12 14:05:28 UTC 2020


I'm trying to configure my rtsp record stream and after a while (several
minutes), the rtpjitterbuffer complains about the difference in skew.

I do not understand how to configure time in RTP.

I played with the rtpbin new_jitter_callback buffer modes, tried to set the
clock from the example in rtsp-server but nothing seems to do it.

	static void
	new_jitterbuffer_callback (GstElement*  rtpbin,
                           GstElement*  jitterbuffer,
                           guint  session,
                           guint  ssrc,
                           gpointer  udata)
	{
		g_object_set (jitterbuffer, "mode",  0, NULL);
		g_object_set (jitterbuffer, "drop-on-latency",  TRUE, NULL);
	}

What is a good way to do this?


0:04:00.498635200  2252 0x7ffff4004180 INFO              rtspstream
rtsp-stream.c:2247:dump_structure: structure:
application/x-rtp-source-stats, ssrc=(uint)440413442,
internal=(boolean)true, validated=(boolean)true,
received-bye=(boolean)false, is-csrc=(boolean)false,
is-sender=(boolean)false, seqnum-base=(int)-1, clock-rate=(int)-1,
octets-sent=(guint64)0, packets-sent=(guint64)0, octets-received=(guint64)0,
packets-received=(guint64)0, bitrate=(guint64)0, packets-lost=(int)0,
jitter=(uint)0, sent-pli-count=(uint)0, recv-pli-count=(uint)0,
sent-fir-count=(uint)0, recv-fir-count=(uint)0, sent-nack-count=(uint)0,
recv-nack-count=(uint)0, have-sr=(boolean)false, sr-ntptime=(guint64)0,
sr-rtptime=(uint)0, sr-octet-count=(uint)0, sr-packet-count=(uint)0;
0:04:00.753672100  2252      0x8072a40 WARN         rtpjitterbuffer
rtpjitterbuffer.c:719:rtp_jitter_buffer_calculate_pts: rtp delta too big,
reset skew
0:04:00.753967800  2252      0x8072a40 INFO         rtpjitterbuffer
rtpjitterbuffer.c:780:rtp_jitter_buffer_calculate_pts: resync to time
0:00:00.000000000, rtptime 0:30:01.293312500
0:04:01.097025600  2252      0x8072a40 WARN         rtpjitterbuffer
rtpjitterbuffer.c:719:rtp_jitter_buffer_calculate_pts: rtp delta too big,
reset skew
0:04:01.097338500  2252      0x8072a40 INFO         rtpjitterbuffer
rtpjitterbuffer.c:780:rtp_jitter_buffer_calculate_pts: resync to time
0:00:00.000000000, rtptime 0:30:01.293312500
0:04:01.426095800  2252      0x8072a40 WARN         rtpjitterbuffer
rtpjitterbuffer.c:719:rtp_jitter_buffer_calculate_pts: rtp delta too big,
reset skew
0:04:01.426387900  2252      0x8072a40 INFO         rtpjitterbuffer
rtpjitterbuffer.c:780:rtp_jitter_buffer_calculate_pts: resync to time
0:00:00.000000000, rtptime 0:30:01.293312500
0:04:01.757017500  2252      0x8072a40 WARN         rtpjitterbuffer
rtpjitterbuffer.c:719:rtp_jitter_buffer_calculate_pts: rtp delta too big,
reset skew
0:04:01.757304300  2252      0x8072a40 INFO         rtpjitterbuffer
rtpjitterbuffer.c:780:rtp_jitter_buffer_calculate_pts: resync to time
0:00:00.000000000, rtptime 0:30:01.293312500
0:04:02.085524200  2252      0x8072a40 WARN         rtpjitterbuffer
rtpjitterbuffer.c:719:rtp_jitter_buffer_calculate_pts: rtp delta too big,
reset skew
0:04:02.085824300  2252      0x8072a40 INFO         rtpjitterbuffer
rtpjitterbuffer.c:780:rtp_jitter_buffer_calculate_pts: resync to time
0:00:00.000000000, rtptime 0:30:01.293312500



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list