mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
rtpsession: creation should be signaled before validation
https://bugzilla.gnome.org/show_bug.cgi?id=667850
This commit is contained in:
parent
db74901b6a
commit
8161daef4a
1 changed files with 3 additions and 2 deletions
|
@ -2007,6 +2007,9 @@ rtp_session_process_sdes (RTPSession * sess, GstRTCPPacket * packet,
|
|||
validated = !RTP_SOURCE_IS_ACTIVE (source);
|
||||
source->validated = TRUE;
|
||||
|
||||
if (created)
|
||||
on_new_ssrc (sess, source);
|
||||
|
||||
/* source became active */
|
||||
if (validated) {
|
||||
sess->stats.active_sources++;
|
||||
|
@ -2015,8 +2018,6 @@ rtp_session_process_sdes (RTPSession * sess, GstRTCPPacket * packet,
|
|||
on_ssrc_validated (sess, source);
|
||||
}
|
||||
|
||||
if (created)
|
||||
on_new_ssrc (sess, source);
|
||||
if (changed)
|
||||
on_ssrc_sdes (sess, source);
|
||||
|
||||
|
|
Loading…
Reference in a new issue