Changeset 5664
- Timestamp:
- Sep 28, 2017 2:56:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/pcaputil.c
r5170 r5664 288 288 if (srtp_crypto->slen) { 289 289 pjmedia_srtp_crypto crypto; 290 pjmedia_transport *tp; 290 291 291 292 pj_bzero(&crypto, sizeof(crypto)); 292 293 crypto.key = *srtp_key; 293 294 crypto.name = *srtp_crypto; 294 T( pjmedia_transport_srtp_create(app.mept, NULL, NULL, &app.srtp) ); 295 T( pjmedia_transport_loop_create(app.mept, &tp) ); 296 T( pjmedia_transport_srtp_create(app.mept, tp, NULL, &app.srtp) ); 295 297 T( pjmedia_transport_srtp_start(app.srtp, &crypto, &crypto) ); 296 298 }
Note: See TracChangeset
for help on using the changeset viewer.