mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
srtpdec: do not warning old replay errors
Reordered packets producing decrypting errors are very normal, so we should filter which errors are warning and which not.
This commit is contained in:
parent
075ff1e8b0
commit
ed71e262b0
2 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,7 @@
|
|||
# define srtp_err_status_ok err_status_ok
|
||||
# define srtp_err_status_bad_param err_status_bad_param
|
||||
# define srtp_err_status_replay_fail err_status_replay_fail
|
||||
# define srtp_err_status_replay_old err_status_replay_old
|
||||
# define srtp_err_status_key_expired err_status_key_expired
|
||||
# define srtp_err_status_auth_fail err_status_auth_fail
|
||||
# define srtp_err_status_cipher_fail err_status_cipher_fail
|
||||
|
|
|
@ -1396,6 +1396,10 @@ unprotect:
|
|||
GST_INFO_OBJECT (filter,
|
||||
"Dropping replayed packet, probably retransmission");
|
||||
goto err;
|
||||
case srtp_err_status_replay_old:
|
||||
GST_INFO_OBJECT (filter,
|
||||
"Dropping replayed old packet, probably retransmission");
|
||||
goto err;
|
||||
case srtp_err_status_key_expired:{
|
||||
GstSrtpDecSsrcStream *stream;
|
||||
|
||||
|
|
Loading…
Reference in a new issue