forked from mirrors/linphone-iphone
When configuring a linphone account, set the core media encryption to SRTP by default
This commit is contained in:
parent
736059f699
commit
5fb42ce09f
1 changed files with 4 additions and 0 deletions
|
|
@ -521,6 +521,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
#endif
|
||||
linphone_push_notification_config_set_provider(pushConfig, PROVIDER_NAME);
|
||||
|
||||
if (strcmp(creatorDomain, "sip.linphone.org")==0) {
|
||||
linphone_core_set_media_encryption(LC, LinphoneMediaEncryptionSRTP);
|
||||
}
|
||||
|
||||
new_account = linphone_core_create_account(LC, accountParams);
|
||||
linphone_account_params_unref(accountParams);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue