summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/rtpmanager/rtpsession.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c
index 31fd6bde8..709614ff0 100644
--- a/gst/rtpmanager/rtpsession.c
+++ b/gst/rtpmanager/rtpsession.c
@@ -1454,6 +1454,10 @@ obtain_source (RTPSession * sess, guint32 ssrc, gboolean * created,
if (check_collision (sess, source, arrival, rtp)) {
return NULL;
}
+ /* Receiving RTCP packets of an SSRC is a strong indication that we
+ * are dealing with a valid source. */
+ if (!rtp)
+ g_object_set (source, "probation", 0, NULL);
}
/* update last activity */
source->last_activity = arrival->current_time;