diff options
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 5d228083..58574e92 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -1083,6 +1083,16 @@ typedef struct pjsua_config * Default: #PJSUA_DEFAULT_SRTP_SECURE_SIGNALING */ int srtp_secure_signaling; + + /** + * Specify whether SRTP in PJMEDIA_SRTP_OPTIONAL mode should compose + * duplicated media in SDP offer, i.e: unsecured and secured version. + * Otherwise, the SDP media will be composed as unsecured media but + * with SDP "crypto" attribute. + * + * Default: PJ_FALSE + */ + pj_bool_t srtp_optional_dup_offer; #endif /** @@ -2126,6 +2136,16 @@ typedef struct pjsua_acc_config * Default: #PJSUA_DEFAULT_SRTP_SECURE_SIGNALING */ int srtp_secure_signaling; + + /** + * Specify whether SRTP in PJMEDIA_SRTP_OPTIONAL mode should compose + * duplicated media in SDP offer, i.e: unsecured and secured version. + * Otherwise, the SDP media will be composed as unsecured media but + * with SDP "crypto" attribute. + * + * Default: PJ_FALSE + */ + pj_bool_t srtp_optional_dup_offer; #endif /** |