- add stun server IP setting + fix problem when processing incoming audio data

This commit is contained in:
2022-09-08 20:54:01 +03:00
parent 93d53957a2
commit eabc1b5c3d
5 changed files with 26 additions and 10 deletions

View File

@@ -453,7 +453,7 @@ BaseSecurity::addCertPEM (PEMType type,
ErrLog(<< name << " is empty. Skipping.");
return;
}
X509* cert=NULL;
X509* cert = NULL;
BIO* in = BIO_new_mem_buf(const_cast<char*>(certPEM.c_str()), -1);
if ( !in )
@@ -466,7 +466,7 @@ BaseSecurity::addCertPEM (PEMType type,
{
ErrLog( << "Could not load X509 cert from '" << certPEM << "'" );
BIO_free(in);
throw Exception("Could not load X509 cert from BIO buffer", __FILE__,__LINE__);
// throw Exception("Could not load X509 cert from BIO buffer", __FILE__,__LINE__);
}
addCertX509(type,name,cert,write);