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
@ -78,6 +78,7 @@
|
|||||||
# define srtp_err_status_ok err_status_ok
|
# define srtp_err_status_ok err_status_ok
|
||||||
# define srtp_err_status_bad_param err_status_bad_param
|
# 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_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_key_expired err_status_key_expired
|
||||||
# define srtp_err_status_auth_fail err_status_auth_fail
|
# define srtp_err_status_auth_fail err_status_auth_fail
|
||||||
# define srtp_err_status_cipher_fail err_status_cipher_fail
|
# define srtp_err_status_cipher_fail err_status_cipher_fail
|
||||||
|
@ -1396,6 +1396,10 @@ unprotect:
|
|||||||
GST_INFO_OBJECT (filter,
|
GST_INFO_OBJECT (filter,
|
||||||
"Dropping replayed packet, probably retransmission");
|
"Dropping replayed packet, probably retransmission");
|
||||||
goto err;
|
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:{
|
case srtp_err_status_key_expired:{
|
||||||
GstSrtpDecSsrcStream *stream;
|
GstSrtpDecSsrcStream *stream;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user