Is it possible to use the library just to secure an rtp/rtcp packet without using the library's session?
hgulamabbass opened this issue · 2 comments
hgulamabbass commented
Hi There, I am trying to write a C# application to use the SRTP library. Is it possible to call the srtp_protect(...) or equivalent without having a session setup?
I would like to get the secure packet and send it down the existing infrastructure of sending packets written in C#. i.e. I want to use srtp library just to secure the packet and unwrap the incoming packet?
paulej commented
It is necessary to maintain state associated with each packet to be encrypted or decrypted, including keys, ROC, etc. Thus, the session setup (and associated data) is necessary.
pabuhler commented
@hgulamabbass I am closing this as the answer is no, as Paul mentioned.