Changeset 5501 for pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
- Timestamp:
- Dec 19, 2016 3:01:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
r5441 r5501 1294 1294 prm.mediaIdx = media_idx; 1295 1295 prm.srtpUse = srtp_opt->use; 1296 for ( inti = 0; i < srtp_opt->crypto_count; i++) {1296 for (unsigned i = 0; i < srtp_opt->crypto_count; i++) { 1297 1297 SrtpCrypto crypto; 1298 1298 … … 1307 1307 srtp_opt->use = prm.srtpUse; 1308 1308 srtp_opt->crypto_count = prm.cryptos.size(); 1309 for ( inti = 0; i < srtp_opt->crypto_count; i++) {1309 for (unsigned i = 0; i < srtp_opt->crypto_count; i++) { 1310 1310 srtp_opt->crypto[i].key = str2Pj(prm.cryptos[i].key); 1311 1311 srtp_opt->crypto[i].name = str2Pj(prm.cryptos[i].name); 1312 1312 srtp_opt->crypto[i].flags = prm.cryptos[i].flags; 1313 } 1313 } 1314 1314 } 1315 1315
Note: See TracChangeset
for help on using the changeset viewer.