From 62ecaee7488a18fb71ef012b0161a227576d1e87 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 13 Aug 2008 14:31:02 +0000 Subject: gst/rtpmanager/gstrtpbin.c: Reset rtp timestamp interpollation when we detect a gap when the clock_base changed. Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate), (gst_rtp_bin_sync_chain), (new_ssrc_pad_found): Reset rtp timestamp interpollation when we detect a gap when the clock_base changed. Don't try to adjust the ts-offset when it's too big (> 3seconds) * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_set_ssrc): * gst/rtpmanager/gstrtpsession.h: Add method to set session SSRC. * gst/rtpmanager/rtpsession.c: (check_collision), (rtp_session_set_internal_ssrc), (rtp_session_get_internal_ssrc), (rtp_session_on_timeout): * gst/rtpmanager/rtpsession.h: Added debugging for the collision checks. Add method to change the internal SSRC of the session. * gst/rtpmanager/rtpsource.c: (rtp_source_process_rtp): Reset the clock base when we detect large jumps in the seqnums. --- gst/rtpmanager/gstrtpsession.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/rtpmanager/gstrtpsession.h') diff --git a/gst/rtpmanager/gstrtpsession.h b/gst/rtpmanager/gstrtpsession.h index 211fffb3..5bbf377a 100644 --- a/gst/rtpmanager/gstrtpsession.h +++ b/gst/rtpmanager/gstrtpsession.h @@ -75,4 +75,6 @@ struct _GstRtpSessionClass { GType gst_rtp_session_get_type (void); +void gst_rtp_session_set_ssrc (GstRtpSession *sess, guint32 ssrc); + #endif /* __GST_RTP_SESSION_H__ */ -- cgit