
Do you mean this? https://github.com/cisco/libsrtp/blob/main/srtp/srtp.c#L2975 Is the first parameter NULL? The call to srtp_valid_policy() can also return that here: https://github.com/cisco/libsrtp/blob/main/srtp/srtp.c#L326 Or are you making another call that is failing? In any case, the best way to find it is to read the C code to see what conditions return that result. Paul ------ Original Message ------
From "lmcdasi--- via libsrtp" <libsrtp@lists.packetizer.com> To "libsrtp@lists.packetizer.com" <libsrtp@lists.packetizer.com> Date 6/15/2023 2:25:32 PM Subject [libsrtp] Q: libsrtp debug
I'm trying to use the library in java. I have wrote all jna mapping's required. When the code is executing create_session I'm getting SRTP_ERR_STATUS_BAD_PARAM
I do not see where my error is & enabling logs in the library may help.
Any suggestions ? Thx.