Changeset 5755 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c
- Timestamp:
- Mar 15, 2018 3:00:59 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c
r5746 r5755 1055 1055 return -1; 1056 1056 } 1057 /* Set SRTP keying to use DTLS over SDES */ 1058 if (app_config.srtp_keying == 1) { 1059 pjsua_srtp_opt *srtp_opt = &app_config.cfg.srtp_opt; 1060 srtp_opt->keying_count = 2; 1061 srtp_opt->keying[0] = PJMEDIA_SRTP_KEYING_DTLS_SRTP; 1062 srtp_opt->keying[1] = PJMEDIA_SRTP_KEYING_SDES; 1063 1064 cur_acc->srtp_opt.keying_count = 2; 1065 cur_acc->srtp_opt.keying[0] = PJMEDIA_SRTP_KEYING_DTLS_SRTP; 1066 cur_acc->srtp_opt.keying[1] = PJMEDIA_SRTP_KEYING_SDES; 1067 } 1057 1068 break; 1058 1069 #endif
Note: See TracChangeset
for help on using the changeset viewer.