Trying to use library with srtp enabled and got this error on incoming call.
Looks like missed attributes in sdp.
How to fix it ?
`
SrtpOpt opt = new SrtpOpt();
IntVector optVector = new IntVector();
optVector.add(pjmedia_srtp_keying_method.PJMEDIA_SRTP_KEYING_DTLS_SRTP);
optVector.add(pjmedia_srtp_keying_method.PJMEDIA_SRTP_KEYING_SDES);
opt.setKeyings(optVector);
Trying to use library with srtp enabled and got this error on incoming call. Looks like missed attributes in sdp. How to fix it ? ` SrtpOpt opt = new SrtpOpt(); IntVector optVector = new IntVector(); optVector.add(pjmedia_srtp_keying_method.PJMEDIA_SRTP_KEYING_DTLS_SRTP); optVector.add(pjmedia_srtp_keying_method.PJMEDIA_SRTP_KEYING_SDES); opt.setKeyings(optVector);
`