diff --git a/ext/srtp/gstsrtp.h b/ext/srtp/gstsrtp.h index b303fc1f42..6dea568c04 100644 --- a/ext/srtp/gstsrtp.h +++ b/ext/srtp/gstsrtp.h @@ -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 diff --git a/ext/srtp/gstsrtpdec.c b/ext/srtp/gstsrtpdec.c index d93d0a85b0..7281a7f8d0 100644 --- a/ext/srtp/gstsrtpdec.c +++ b/ext/srtp/gstsrtpdec.c @@ -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;