projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a200b6
)
session: also stop probatation on existing sources
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 30 Aug 2012 20:07:24 +0000
(22:07 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 30 Aug 2012 20:07:24 +0000
(22:07 +0200)
Receiving an RTCP packet should also stop probation on sources we have seen
before.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683065
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index
f008ef7
..
e3fec66
100644
(file)
--- a/
gst/rtpmanager/rtpsession.c
+++ b/
gst/rtpmanager/rtpsession.c
@@
-1389,6
+1389,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;