GNOME Bugzilla – Bug 630447
rtpsession: relax third-party collision detection
Last modified: 2010-09-24 11:58:03 UTC
Created attachment 170944 [details] [review] patch ...
Review of attachment 170944 [details] [review]: ::: gst/rtpmanager/rtpsession.c @@ +1109,3 @@ + if (arrival->time > source->last_activity) { + GstClockTime inactivity_period = arrival->time - source->last_activity; + if (inactivity_period > 1*GST_SECOND) { You could do that instead: if (arrival->time > source->last_activity && arrival->time - source->last_activity > 1 * GST_SECOND) { Otherwise it looks good to me. Btw, the "favor-new" property is probably want you want to use too ?
commit 062568a9f53632b6bca5803d2d381741fc387b1d Author: Havard Graff <havard.graff@tandberg.com> Date: Mon Aug 31 18:37:40 2009 +0200 rtpsession: relax third-party collision detection If the source has been inactive for some time, we assume that it has simply changed its transport source address. Hence, there is no true third-party collision - only a simulated one. Fixes #630447