mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Set default certificate type in Configuration
This commit is contained in:
@ -76,7 +76,7 @@ struct RTC_CPP_EXPORT Configuration {
|
||||
optional<ProxyServer> proxyServer; // libnice only
|
||||
|
||||
// Options
|
||||
CertificateType certificateType = CertificateType::Ecdsa;
|
||||
CertificateType certificateType = CertificateType::Default;
|
||||
bool enableIceTcp = false;
|
||||
bool disableAutoNegotiation = false;
|
||||
|
||||
|
@ -89,7 +89,7 @@ typedef enum { // Don't change, it must match plog severity
|
||||
} rtcLogLevel;
|
||||
|
||||
typedef enum {
|
||||
RTC_CERTIFICATE_DEFAULT = 0,
|
||||
RTC_CERTIFICATE_DEFAULT = 0, // ECDSA
|
||||
RTC_CERTIFICATE_ECDSA = 1,
|
||||
RTC_CERTIFICATE_RSA = 2,
|
||||
} rtcCertificateType;
|
||||
|
Reference in New Issue
Block a user