Ignore:
Timestamp:
Jul 12, 2018 8:22:31 AM (11 months ago)
Author:
nanang
Message:

Close #2126: Initial implementation of RTCP Feedback.

File:
1 edited

Legend:

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

    r5794 r5820  
    10481048        pjmedia_sdp_media *m_rem = sdp_remote->media[media_index]; 
    10491049        pjmedia_sdp_attr *attr_setup; 
    1050  
    1051         if (pj_stricmp(&m_rem->desc.transport, &ID_TP_DTLS_SRTP)!=0) { 
     1050        pj_uint32_t rem_proto = 0; 
     1051 
     1052        rem_proto = pjmedia_sdp_transport_get_proto(&m_rem->desc.transport); 
     1053        if (!PJMEDIA_TP_PROTO_HAS_FLAG(rem_proto, PJMEDIA_TP_PROTO_DTLS_SRTP)) 
     1054        { 
    10521055            /* Remote doesn't signal DTLS-SRTP */ 
    10531056            status = PJMEDIA_SRTP_ESDPINTRANSPORT; 
Note: See TracChangeset for help on using the changeset viewer.