Securing RTP with SRTP

This topic explains how to use callbacks to secure RTP communications.

If you have registered preprocessing and postprocessing callbacks, the RTP stack calls them when sending or receiving RTP data. Therefore, your application can implement Secure RTP by adding encryption and authentication steps after reception and before sending.

Your callback class must derive from MPrePostProcessingCallback and implement its four methods. Call the SetPrePostProcessingRegisterCallback( method to register your callbacks. After registration, the callback behaviour is as follows:

Related concepts
RTP Overview