mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 11:10:14 +08:00
添加 github.com/pion/dtls 代码
This commit is contained in:
14
dtls-2.0.9/srtp_protection_profile.go
Normal file
14
dtls-2.0.9/srtp_protection_profile.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package dtls
|
||||
|
||||
import "github.com/pion/dtls/v2/pkg/protocol/extension"
|
||||
|
||||
// SRTPProtectionProfile defines the parameters and options that are in effect for the SRTP processing
|
||||
// https://tools.ietf.org/html/rfc5764#section-4.1.2
|
||||
type SRTPProtectionProfile = extension.SRTPProtectionProfile
|
||||
|
||||
const (
|
||||
SRTP_AES128_CM_HMAC_SHA1_80 SRTPProtectionProfile = extension.SRTP_AES128_CM_HMAC_SHA1_80 // nolint
|
||||
SRTP_AES128_CM_HMAC_SHA1_32 SRTPProtectionProfile = extension.SRTP_AES128_CM_HMAC_SHA1_32 // nolint
|
||||
SRTP_AEAD_AES_128_GCM SRTPProtectionProfile = extension.SRTP_AEAD_AES_128_GCM // nolint
|
||||
SRTP_AEAD_AES_256_GCM SRTPProtectionProfile = extension.SRTP_AEAD_AES_256_GCM // nolint
|
||||
)
|
Reference in New Issue
Block a user