Ignore:
Timestamp:
Dec 4, 2019 9:01:19 AM (4 years ago)
Author:
nanang
Message:

Fix #2254: Updated SDP encoder of SDES to avoid deactivating/disabling media, it should be done by the parent/SRTP instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c

    r5982 r6115  
    16411641 
    16421642    /* All keying method failed to process remote SDP? */ 
    1643     if (srtp->keying_cnt == 0) 
     1643    if (srtp->keying_cnt == 0) { 
     1644        if (keying_status != PJ_SUCCESS) { 
     1645            DEACTIVATE_MEDIA(sdp_pool, sdp_local->media[media_index]); 
     1646        } 
    16441647        return keying_status; 
     1648    } 
    16451649 
    16461650    /* Bypass SRTP & skip keying as SRTP is disabled and verification on 
Note: See TracChangeset for help on using the changeset viewer.