Hello,Hi Saif, i would like to suggest something for the encryption, in my opinion, the best aproach for thin could be provide that anyone could apply the encryption freely..
Like this...
[VOIP Client 1 (encrypt packets)] =====> [(decrypt packets) VOIP Server (encrypt packets)] =====> [(decrypt packets) VOIP Client 2]
To make de encryption/decryption , we can insert any kind of encryption , MD5, SHA or including particular one... you code is going to be the same, you only need to provide a way to insert some new external code (when applied) to "decode" any packet from in/out buffer in the client's and server. Tha way could be simple and anyone could use.
The server side (B4J) is easier to control regarding the encryption, but the difficult part is in the client side, why?
Because every byte sent, is sent in real-time and the encryption process will slow down the process (even if it was 10 ms or less) which will cause a loss in the connection between the server and the client sides.
That's why we are still trying to figuring out the best way possible and to avoid the loss in the connection.
Thank you,
Saif