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
@ -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…
x
Reference in New Issue
Block a user