SRTCP unprotect failed on SSRC because of authentication failure

I’ve recently started looking into using pjsip instead of SIP and also using the sipml5 libraries for my browser phone. I can make a call successfully and audio is fine too however looking on the CLI I continually see on the logs:

== SRTCP unprotect failed on SSRC 1458384089 because of authentication failure

I dont see any other errors or notifications.

I am using centos7 and asterisk 17.3.0 the build was --with-jansson-bundled.

Thanks for any suggestions.

Seems to have been a configuration issue in my endpoint. Changing the endpoint from this:

[wss-endpoint-basic](!)
type=endpoint
use_avpf=yes
media_encryption=dtls
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_verify=fingerprint
dtls_setup=actpass
ice_support=yes
media_use_received_transport=yes
rtcp_mux=yes
context=helloworld
disallow=all
allow=ulaw
allow=opus

to this:

[wss-endpoint-basic](!)
type=endpoint
dtls_auto_generate_cert=yes
webrtc=yes
context=helloworld
disallow=all
allow=ulaw
allow=opus

Seem to have resolved the issue.