Added certificateType option to C API

This commit is contained in:
Paul-Louis Ageneau
2021-03-22 19:57:33 +01:00
parent 08a6c5c45b
commit fff1912d30
5 changed files with 16 additions and 2 deletions

View File

@ -64,7 +64,11 @@ struct RTC_CPP_EXPORT ProxyServer {
string password;
};
enum class CertificateType { Ecdsa = 0, Rsa };
enum class CertificateType {
Default = RTC_CERTIFICATE_DEFAULT, // ECDSA
Ecdsa = RTC_CERTIFICATE_ECDSA,
Rsa = RTC_CERTIFICATE_RSA
};
struct RTC_CPP_EXPORT Configuration {
// ICE settings