Hello -
When using DTLS with Chrome (30m) and our WebRTC Gateway - observing SRTP error (7) from time to time. The behavior is random anyway - but if anything can be interpreted from the Chrome debug logs (attached)? I don't see the errors for SDES.
I see the DTLS handshake seems to be okay -
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(734)] NSSStreamAdapter::OnEvent SE_READ
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(554)] ContinueSSL
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(587)] Would have blocked
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(593)] Timeout is 1000 ms
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(734)] NSSStreamAdapter::OnEvent SE_READ
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(554)] ContinueSSL
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(587)] Would have blocked
[13940:7048:1022/133207:VERBOSE3:nssstreamadapter.cc(593)] Timeout is 1000 ms
[13940:7048:1022/133208:VERBOSE3:nssstreamadapter.cc(734)] NSSStreamAdapter::OnEvent SE_READ
[13940:7048:1022/133208:VERBOSE3:nssstreamadapter.cc(554)] ContinueSSL
[13940:7048:1022/133208:VERBOSE3:nssstreamadapter.cc(782)] NSSStreamAdapter::AuthCertificateHook
[13940:7048:1022/133208:VERBOSE3:nssstreamadapter.cc(800)] Checking against specified digest
[13940:7048:1022/133208:VERBOSE3:nssstreamadapter.cc(812)] Accepted peer certificate
[13940:7048:1022/133208:VERBOSE3:nssstreamadapter.cc(563)] Handshake complete
Then -
[13940:7048:1022/133208:VERBOSE3:srtpfilter.cc(158)] SRTP activated with negotiated parameters: send cipher_suite AES_CM_128_HMAC_SHA1_80 recv cipher_suite AES_CM_128_HMAC_SHA1_80
The series of error 7 messages for each packet I guess -
[13940:7048:1022/133208:VERBOSE2:srtpfilter.cc(535)] Failed to unprotect SRTP packet, err=7
[13940:7048:1022/133208:VERBOSE1:channel.cc(837)] Failed to unprotect audio RTP packet: size=182, seqnum=20329, SSRC=17792
[13940:7048:1022/133208:VERBOSE2:srtpfilter.cc(535)] Failed to unprotect SRTP packet, err=7
[13940:7048:1022/133208:VERBOSE1:channel.cc(837)] Failed to unprotect video RTP packet: size=850, seqnum=12116, SSRC=18008
[13940:7048:1022/133208:VERBOSE2:srtpfilter.cc(535)] Failed to unprotect SRTP packet, err=7
[13940:7048:1022/133208:VERBOSE1:channel.cc(837)] Failed to unprotect video RTP packet: size=850, seqnum=12117, SSRC=18008
[13940:7048:1022/133208:VERBOSE2:srtpfilter.cc(535)] Failed to unprotect SRTP packet, err=7
Could be something specific to DTLS - any debugging suggestion would be highly appreciated.
Thx
RCC