Update SDK

This commit is contained in:
Julien Wadel 2020-06-13 19:39:30 +02:00
parent d747711769
commit 4e1fab0df5
2 changed files with 11 additions and 9 deletions

View file

@ -85,14 +85,16 @@ void CoreHandlers::onAuthenticationRequested (
const shared_ptr<linphone::AuthInfo> &authInfo,
linphone::AuthMethod
) {
auto configList = core->getProxyConfigList();
auto config = configList.begin() ;
std::string username = authInfo->getUsername();
std::string domain = authInfo->getDomain();
while(config != configList.end() && ((*config)->getContact()->getUsername() != username || (*config)->getContact()->getDomain() != domain))
++config;
if( config != configList.end() )
emit authenticationRequested(authInfo);// Send authentification request only if a proxy still exists
if( authInfo ) {
auto configList = core->getProxyConfigList();
auto config = configList.begin() ;
std::string username = authInfo->getUsername();
std::string domain = authInfo->getDomain();
while(config != configList.end() && ((*config)->getContact()->getUsername() != username || (*config)->getContact()->getDomain() != domain))
++config;
if( config != configList.end() )
emit authenticationRequested(authInfo);// Send authentification request only if a proxy still exists
}
}
void CoreHandlers::onCallEncryptionChanged (

@ -1 +1 @@
Subproject commit b0d6e1cc4a94e13c6e6575f1fd9a66040776a0d8
Subproject commit 46174d76354f6031089ef9955edddc2ed2f40623