mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtpsession: cleanup sources that have sent BYE
This commit is contained in:
parent
7d7840cc4a
commit
85d4c031d4
1 changed files with 5 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue