diff --git a/subprojects/gst-plugins-good/docs/gst_plugins_cache.json b/subprojects/gst-plugins-good/docs/gst_plugins_cache.json index e8bc8ca3c4..28bb7f178e 100644 --- a/subprojects/gst-plugins-good/docs/gst_plugins_cache.json +++ b/subprojects/gst-plugins-good/docs/gst_plugins_cache.json @@ -17977,7 +17977,7 @@ "construct": false, "construct-only": false, "controllable": false, - "default": "1000", + "default": "-1", "max": "2147483647", "min": "-1", "mutable": "null", @@ -19025,7 +19025,7 @@ "construct": false, "construct-only": false, "controllable": false, - "default": "1000", + "default": "-1", "max": "2147483647", "min": "-1", "mutable": "null", @@ -21768,7 +21768,7 @@ "construct": false, "construct-only": false, "controllable": false, - "default": "1000", + "default": "-1", "max": "2147483647", "min": "-1", "mutable": "null", @@ -29145,4 +29145,4 @@ "tracers": {}, "url": "Unknown package origin" } -} \ No newline at end of file +} diff --git a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c index b608ea0acd..313dc091b6 100644 --- a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c +++ b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpbin.c @@ -347,7 +347,7 @@ enum #define DEFAULT_RTP_PROFILE GST_RTP_PROFILE_AVP #define DEFAULT_NTP_TIME_SOURCE GST_RTP_NTP_TIME_SOURCE_NTP #define DEFAULT_RTCP_SYNC_SEND_TIME TRUE -#define DEFAULT_MAX_RTCP_RTP_TIME_DIFF 1000 +#define DEFAULT_MAX_RTCP_RTP_TIME_DIFF -1 #define DEFAULT_MAX_DROPOUT_TIME 60000 #define DEFAULT_MAX_MISORDER_TIME 2000 #define DEFAULT_RFC7273_SYNC FALSE diff --git a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c index 9bae8d391d..61aaabc293 100644 --- a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c @@ -151,7 +151,7 @@ enum #define DEFAULT_RTX_MAX_RETRIES -1 #define DEFAULT_RTX_DEADLINE -1 #define DEFAULT_RTX_STATS_TIMEOUT 1000 -#define DEFAULT_MAX_RTCP_RTP_TIME_DIFF 1000 +#define DEFAULT_MAX_RTCP_RTP_TIME_DIFF -1 #define DEFAULT_MAX_DROPOUT_TIME 60000 #define DEFAULT_MAX_MISORDER_TIME 2000 #define DEFAULT_RFC7273_SYNC FALSE @@ -4831,7 +4831,7 @@ do_handle_sync (GstRtpJitterBuffer * jitterbuffer) if (ext_rtptime > last_rtptime) { /* check how far ahead it is to our RTP timestamps */ diff = ext_rtptime - last_rtptime; - /* if bigger than 1 second, we drop it */ + /* if bigger than configured maximum difference then we drop it */ if (jitterbuffer->priv->max_rtcp_rtp_time_diff != -1 && diff > gst_util_uint64_scale (jitterbuffer->priv->max_rtcp_rtp_time_diff, @@ -4839,7 +4839,7 @@ do_handle_sync (GstRtpJitterBuffer * jitterbuffer) GST_DEBUG_OBJECT (jitterbuffer, "too far ahead"); /* should drop this, but some RTSP servers end up with bogus * way too ahead RTCP packet when repeated PAUSE/PLAY, - * so still trigger rptbin sync but invalidate RTCP data + * so still trigger rtpbin sync but invalidate RTCP data * (sync might use other methods) */ ext_rtptime = -1; } diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c index d090d22f99..fed9ef1420 100644 --- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c +++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c @@ -302,7 +302,7 @@ gst_rtsp_backchannel_get_type (void) #define DEFAULT_DO_RETRANSMISSION TRUE #define DEFAULT_NTP_TIME_SOURCE NTP_TIME_SOURCE_NTP #define DEFAULT_USER_AGENT "GStreamer/{VERSION}" -#define DEFAULT_MAX_RTCP_RTP_TIME_DIFF 1000 +#define DEFAULT_MAX_RTCP_RTP_TIME_DIFF -1 #define DEFAULT_RFC7273_SYNC FALSE #define DEFAULT_ADD_REFERENCE_TIMESTAMP_META FALSE #define DEFAULT_MAX_TS_OFFSET_ADJUSTMENT G_GUINT64_CONSTANT(0)