Use 64-bit digests for SRTP replay list

This commit is contained in:
Aaro Altonen 2020-09-29 09:25:18 +03:00
parent f2f3a48e42
commit 5b4c6f814d
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ namespace uvg_rtp {
/* Map containing all authentication tags of received packets (separate for SRTP and SRTCP) /* Map containing all authentication tags of received packets (separate for SRTP and SRTCP)
* Used to implement replay protection */ * Used to implement replay protection */
std::unordered_set<uint32_t> replay_list_; std::unordered_set<uint64_t> replay_list_;
/* If NULL cipher is enabled, it means that RTP packets are not /* If NULL cipher is enabled, it means that RTP packets are not
* encrypted but other security mechanisms described in RFC 3711 may be used */ * encrypted but other security mechanisms described in RFC 3711 may be used */