rtpsession: cleanup sources that have sent BYE

This commit is contained in:
George Kiagiadakis 2013-12-26 17:29:42 +02:00 committed by Wim Taymans
parent 7d7840cc4a
commit 85d4c031d4

View file

@ -3258,6 +3258,11 @@ session_cleanup (const gchar * key, RTPSource * source, ReportData * data)
}
}
if (source->internal && source->sent_bye) {
GST_DEBUG ("removing internal source that has sent BYE %08x", source->ssrc);
remove = TRUE;
}
/* sources that were inactive for more than 5 times the deterministic reporting
* interval get timed out. the min timeout is 5 seconds. */
/* mind old time that might pre-date last time going to PLAYING */