Documentation
¶
Index ¶
Constants ¶
View Source
const ( VersionDTLS10 uint16 = 0xfeff VersionDTLS12 uint16 = 0xfefd )
View Source
const ( SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001 SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002 SRTP_NULL_HMAC_SHA1_80 = 0x0005 SRTP_NULL_HMAC_SHA1_32 = 0x0006 )
View Source
const (
TLS_RSA_WITH_AES_128_CBC_SHA uint16 = 0x002f
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Rand io.Reader Time func() time.Time MTU int RetransmissionTimeout time.Duration ReadTimeout time.Duration RootCAs *x509.CertPool ServerName string CipherSuites []uint16 SRTPProtectionProfiles []uint16 MinVersion uint16 MaxVersion uint16 InsecureSkipVerify bool Logf func(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.