Optional
certificateOptional
certificateThe key the certificate is stored in the datastore under
Optional
certificateThe name the certificate private key is stored in the keychain with
Optional
certificateNumber of ms a certificate should be valid for (defaults to 14 days)
Optional
certificateCertificates will be renewed this many ms before expiry (defaults to 1 day)
Optional
certificatesOptional
dataThe default configuration used by all created RTCDataChannels
Optional
rtcThe default configuration used by all created RTCPeerConnections
Optional
use
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).