Source File
srtp_protection_profile.go
Belonging Package
github.com/pion/dtls/v3/pkg/protocol/extension
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage extension// SRTPProtectionProfile defines the parameters and options that are in effect for the SRTP processing// https://tools.ietf.org/html/rfc5764#section-4.1.2type SRTPProtectionProfile uint16const (SRTP_AES128_CM_HMAC_SHA1_80 SRTPProtectionProfile = 0x0001 // nolintSRTP_AES128_CM_HMAC_SHA1_32 SRTPProtectionProfile = 0x0002 // nolintSRTP_AES256_CM_SHA1_80 SRTPProtectionProfile = 0x0003 // nolintSRTP_AES256_CM_SHA1_32 SRTPProtectionProfile = 0x0004 // nolintSRTP_NULL_HMAC_SHA1_80 SRTPProtectionProfile = 0x0005 // nolintSRTP_NULL_HMAC_SHA1_32 SRTPProtectionProfile = 0x0006 // nolintSRTP_AEAD_AES_128_GCM SRTPProtectionProfile = 0x0007 // nolintSRTP_AEAD_AES_256_GCM SRTPProtectionProfile = 0x0008 // nolint)func srtpProtectionProfiles() map[SRTPProtectionProfile]bool {return map[SRTPProtectionProfile]bool{SRTP_AES128_CM_HMAC_SHA1_80: true,SRTP_AES128_CM_HMAC_SHA1_32: true,SRTP_AES256_CM_SHA1_80: true,SRTP_AES256_CM_SHA1_32: true,SRTP_NULL_HMAC_SHA1_80: true,SRTP_NULL_HMAC_SHA1_32: true,SRTP_AEAD_AES_128_GCM: true,SRTP_AEAD_AES_256_GCM: true,}}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |