- Timestamp:
- Dec 4, 2019 9:01:19 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp_sdes.c
r5982 r6115 473 473 for (j=0; j<cr_attr_count; ++j) { 474 474 if (tags[j] == tags[cr_attr_count]) { 475 DEACTIVATE_MEDIA(sdp_pool, m_loc);475 //DEACTIVATE_MEDIA(sdp_pool, m_loc); 476 476 return PJMEDIA_SRTP_ESDPDUPCRYPTOTAG; 477 477 } … … 514 514 */ 515 515 if ((!has_crypto_attr || matched_idx == -1) && 516 rem_proto == PJMEDIA_TP_PROTO_RTP_AVP) 516 !PJMEDIA_TP_PROTO_HAS_FLAG(rem_proto, 517 PJMEDIA_TP_PROFILE_SRTP)) 517 518 { 518 519 return PJ_SUCCESS; … … 527 528 /* No crypto attr */ 528 529 if (!has_crypto_attr) { 529 DEACTIVATE_MEDIA(sdp_pool, m_loc);530 //DEACTIVATE_MEDIA(sdp_pool, m_loc); 530 531 return PJMEDIA_SRTP_ESDPREQCRYPTO; 531 532 } … … 533 534 /* No crypto match */ 534 535 if (matched_idx == -1) { 535 DEACTIVATE_MEDIA(sdp_pool, m_loc);536 //DEACTIVATE_MEDIA(sdp_pool, m_loc); 536 537 return PJMEDIA_SRTP_ENOTSUPCRYPTO; 537 538 }
Note: See TracChangeset
for help on using the changeset viewer.