Skip to content

Commit 6178064

Browse files
sirzooroSean-Der
authored andcommitted
Mark NULL and AES256CM SRTP ciphers as supported
DTLS server checks this list during handshake. Without this change new NULL and AES256CM SRTP ciphers were ignored.
1 parent bc3159a commit 6178064

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/protocol/extension/srtp_protection_profile.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ func srtpProtectionProfiles() map[SRTPProtectionProfile]bool {
2222
return map[SRTPProtectionProfile]bool{
2323
SRTP_AES128_CM_HMAC_SHA1_80: true,
2424
SRTP_AES128_CM_HMAC_SHA1_32: true,
25+
SRTP_AES256_CM_SHA1_80: true,
26+
SRTP_AES256_CM_SHA1_32: true,
27+
SRTP_NULL_HMAC_SHA1_80: true,
28+
SRTP_NULL_HMAC_SHA1_32: true,
2529
SRTP_AEAD_AES_128_GCM: true,
2630
SRTP_AEAD_AES_256_GCM: true,
2731
}

0 commit comments

Comments
 (0)