Changeset 1802 for pjproject/trunk
- Timestamp:
- Feb 18, 2008 12:16:23 PM (17 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r1758 r1802 1325 1325 1326 1326 /* SRTP */ 1327 #if PJMEDIA_HAS_SRTP 1327 1328 if (app_config.cfg.use_srtp != PJSUA_DEFAULT_USE_SRTP) { 1328 1329 pj_ansi_sprintf(line, "--use-srtp %d\n", … … 1337 1338 pj_strcat2(&cfg, line); 1338 1339 } 1339 1340 #endif 1340 1341 1341 1342 /* Media */ -
pjproject/trunk/pjsip-apps/src/samples/pcaputil.c
r1769 r1802 155 155 156 156 /* Decrypt SRTP */ 157 #if PJMEDIA_HAS_SRTP 157 158 if (app.srtp) { 158 159 int len = sz; … … 178 179 } 179 180 } 181 #endif 180 182 181 183 /* Update RTP session */ … … 247 249 248 250 /* Create SRTP transport is needed */ 251 #if PJMEDIA_HAS_SRTP 249 252 if (srtp_crypto->slen) { 250 253 pjmedia_srtp_crypto crypto; … … 256 259 T( pjmedia_transport_srtp_start(app.srtp, &crypto, &crypto) ); 257 260 } 261 #else 262 PJ_UNUSED_ARG(srtp_crypto); 263 PJ_UNUSED_ARG(srtp_key); 264 #endif 258 265 259 266 /* Read first packet */
Note: See TracChangeset
for help on using the changeset viewer.