#include <call.hpp>
This structure contains parameters for Call::onCreateMediaTransportSrtp() callback.
◆ mediaIdx
unsigned pj::OnCreateMediaTransportSrtpParam::mediaIdx |
The media index in the SDP for which the SRTP media transport will be used.
◆ srtpUse
Specify whether secure media transport should be used. Application can modify this only for initial INVITE. Valid values are PJMEDIA_SRTP_DISABLED, PJMEDIA_SRTP_OPTIONAL, and PJMEDIA_SRTP_MANDATORY.
◆ cryptos
Application can modify this to specify the cryptos and keys which are going to be used.
The documentation for this struct was generated from the following file: