mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
srtpenc: Set the first session flag to false once one is create
Otherwise it always thinks it's the first session. https://bugzilla.gnome.org/show_bug.cgi?id=711495
This commit is contained in:
parent
2b75eb85c4
commit
b58ca88fb9
1 changed files with 2 additions and 0 deletions
|
@ -379,6 +379,8 @@ check_new_stream_locked (GstSrtpEnc * filter, guint32 ssrc)
|
|||
else
|
||||
ret = srtp_add_stream (filter->session, &policy);
|
||||
|
||||
filter->first_session = FALSE;
|
||||
|
||||
if (HAS_CRYPTO (filter))
|
||||
gst_buffer_unmap (filter->key, &map);
|
||||
|
||||
|
|
Loading…
Reference in a new issue