mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
rtpsession: when we schedule BYE, only deal with BYE sources
When we are doing the RTCP timeout to schedule BYE packets, don't generate RTCP for all sources but only for the sources marked as BYE.
This commit is contained in:
parent
6a421c3d81
commit
282028e753
1 changed files with 4 additions and 0 deletions
|
@ -3482,6 +3482,10 @@ generate_rtcp (const gchar * key, RTPSource * source, ReportData * data)
|
|||
if (!source->internal || source->sent_bye)
|
||||
return;
|
||||
|
||||
/* ignore other sources when we do the timeout after a scheduled BYE */
|
||||
if (sess->scheduled_bye && !source->marked_bye)
|
||||
return;
|
||||
|
||||
data->source = source;
|
||||
|
||||
/* open packet */
|
||||
|
|
Loading…
Reference in a new issue