Encrypt/decrypt and stream wav and record wav file to remote machine


#1

I am working on a SIP client and new to jitsi Below are my requirements
After establishing the SIP connectivity between 2 agents (java)
UA 1 side :

  1. Read a local wav file [opus codec].
  2. Convert it to RTP packet encrypt it
  3. Stream it as RTP packet to a remote machine.

UA 2 side :

  1. Receive the SRTP stream packets
  2. Decrypt it
  3. Convert the RTP streams back to wav file

Could you please help me in identifying the libjitsi classes / interfaces and sequence in which all these task are supposed to be done.
If anyone has a skeleton code to do so can you please share .