Ignore:
Timestamp:
Feb 26, 2018 7:50:18 AM (3 years ago)
Author:
nanang
Message:

Fixe #2096:

  • Fixed re-INVITE scenario: always generate SRTP attr in SDP re-offer/answer as both offerer/answerer (as long as SRTP is not disabled of course), currently it does not generate SRTP attr if active session does not use SRTP.
  • Fixed bug in retrieving video stream info from SDP that caused DTLS transport (UDP/TLS/RTP/SAVP) getting rejected.
  • Added pjsua app param '--srtp-keying=0/1' to choose SRTP keying to be used in the outgoing offer (0=SDES (default), 1=DTLS-SRTP).
  • Few minors, e.g: adding transport_srtp_dtls/sdes.c to pjmedia MSVC2015 project.
File:
1 edited

Legend:

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

    r5436 r5746  
    243243        si->proto = PJMEDIA_TP_PROTO_RTP_AVP; 
    244244 
    245     } else if (pj_stricmp(&local_m->desc.transport, &ID_RTP_SAVP) == 0) { 
     245    } else if (pj_stristr(&local_m->desc.transport, &ID_RTP_SAVP)) { 
    246246 
    247247        si->proto = PJMEDIA_TP_PROTO_RTP_SAVP; 
Note: See TracChangeset for help on using the changeset viewer.