support encrypted streams with SRTP and MIKEY (#520) (#809)

This commit is contained in:
Alessandro Ros
2025-07-05 12:48:13 +02:00
committed by GitHub
parent a5ff92f130
commit 616fa7ea89
104 changed files with 4179 additions and 766 deletions

View File

@@ -6,4 +6,13 @@ const (
// 1500 (UDP MTU) - 20 (IP header) - 8 (UDP header)
udpMaxPayloadSize = 1472
// 16 master key + 14 master salt
srtpKeyLength = 30
// 10 (HMAC SHA1 authentication tag)
srtpOverhead = 10
// 10 (HMAC SHA1 authentication tag) + 4 (sequence number)
srtcpOverhead = 14
)