OptionalcertificateOptionalcertificateThe key the certificate is stored in the datastore under
OptionalcertificateThe name the certificate private key is stored in the keychain with
OptionalcertificateNumber of ms a certificate should be valid for (defaults to 14 days)
OptionalcertificateCertificates will be renewed this many ms before expiry (defaults to 1 day)
OptionaldataThe default configuration used by all created RTCDataChannels
OptionalrtcThe default configuration used by all created RTCPeerConnections
Use an existing TLS certificate to secure incoming connections or supply settings to generate one.
This must be an ECDSA certificate using the P-256 curve.
From our testing we find that P-256 elliptic curve is supported by Pion, webrtc-rs, as well as Chromium (P-228 and P-384 was not supported in Chromium).