mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user