mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpsession: Fix wrong code organisation in case of collision
change_ssrc field of RTPSession should be set before calling rtp_session_schedule_bye_locked () as this function will call reconsider function that will wake up rtcp_thread which will call rtp_session_on_timeout () that will check change_ssrc to change the ssrc. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=694184
This commit is contained in:
parent
f5cb19e287
commit
10802cae73
1 changed files with 2 additions and 2 deletions
|
@ -1312,10 +1312,10 @@ check_collision (RTPSession * sess, RTPSource * source,
|
|||
GST_DEBUG ("Collision for SSRC %x", rtp_source_get_ssrc (source));
|
||||
on_ssrc_collision (sess, source);
|
||||
|
||||
sess->change_ssrc = TRUE;
|
||||
|
||||
rtp_session_schedule_bye_locked (sess, "SSRC Collision",
|
||||
arrival->current_time);
|
||||
|
||||
sess->change_ssrc = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue