mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
change default behavior regarding changing srtp keys.
They are now not changed by reINVITEs.
This commit is contained in:
parent
e5d8ff817a
commit
15d7543a49
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ static void setup_encryption_keys(LinphoneCall *call, SalMediaDescription *md){
|
|||
LinphoneCore *lc=call->core;
|
||||
int i;
|
||||
SalMediaDescription *old_md=call->localdesc;
|
||||
bool_t keep_srtp_keys=lp_config_get_int(lc->config,"sip","keep_srtp_keys",0);
|
||||
bool_t keep_srtp_keys=lp_config_get_int(lc->config,"sip","keep_srtp_keys",1);
|
||||
|
||||
for(i=0; i<md->n_active_streams; i++) {
|
||||
if (md->streams[i].proto == SalProtoRtpSavp) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue