Changeset 5103 for pjproject/trunk
- Timestamp:
- Jun 1, 2015 3:44:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r5079 r5103 1364 1364 /* Generate crypto attribute if not yet */ 1365 1365 if (pjmedia_sdp_media_find_attr(m_loc, &ID_CRYPTO, NULL) == NULL) { 1366 /* Offer only current active crypto if any, otherwise offer all 1367 * crypto-suites in the setting. 1368 */ 1366 1369 for (i=0; i<srtp->setting.crypto_count; ++i) { 1367 /* Offer crypto-suites based on setting. */ 1370 if (srtp->tx_policy.name.slen && 1371 pj_stricmp(&srtp->tx_policy.name, 1372 &srtp->setting.crypto[i].name) != 0) 1373 { 1374 continue; 1375 } 1376 1368 1377 buffer_len = MAXLEN; 1369 1378 status = generate_crypto_attr_value(srtp->pool, buffer, &buffer_len,
Note: See TracChangeset
for help on using the changeset viewer.