prev_rx_roc property

pjmedia_srtp_roc prev_rx_roc
getter/setter pair

The previous value of RTP sequence rollover counter. This is useful in situations when we expect the remote to reset/maintain ROC but for some reason, they don't. Thus, when we encounter SRTP packet unprotect failure during probation, we will retry to unprotect with this ROC value as well. Set prev_rx_roc.ssrc to 0 to disable this feature.

Implementation

external pjmedia_srtp_roc prev_rx_roc;