Open Thiyageshv opened 8 years ago
The key is assumed to be 40, https://github.com/gteissier/srtp-decrypt/blob/master/srtp-decrypt.c#L41
Key is always expected in base64 format. In the only mode supported by srtp-decrypt, raw - ie base64 decoded - key is made of 16 bytes (128 bits for AES-128 key size), plus 14 bytes for salt. 30 raw bytes, or 40 base64 bytes. @Thiyageshv : if your key is really more that 40 characters, can you check the srtp variant used ? it should be indicated in SDP exchange, where you have found the key.
I am getting a segmentation fault error when I use a key with more than 40 characters in length ? I assume there is no change in RTP offset. What would be the problem ?