- Timestamp:
- Dec 19, 2016 3:00:37 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r5418 r5500 1419 1419 /* Generate crypto attribute if not yet */ 1420 1420 if (pjmedia_sdp_media_find_attr(m_loc, &ID_CRYPTO, NULL) == NULL) { 1421 int tag = 1; 1422 1421 1423 /* Offer only current active crypto if any, otherwise offer all 1422 1424 * crypto-suites in the setting. … … 1433 1435 status = generate_crypto_attr_value(srtp->pool, buffer, &buffer_len, 1434 1436 &srtp->setting.crypto[i], 1435 i+1);1437 tag); 1436 1438 if (status != PJ_SUCCESS) 1437 1439 return status; … … 1443 1445 &attr_value); 1444 1446 m_loc->attr[m_loc->attr_count++] = attr; 1447 ++tag; 1445 1448 } 1446 1449 }
Note: See TracChangeset
for help on using the changeset viewer.