Ignore:
Timestamp:
Jan 17, 2008 8:37:38 PM (12 years ago)
Author:
nanang
Message:

Ticket #452:

  • change libsrtp on rand_source.c to disable rand_s which causing breakpoint assert
  • change pjsua_media.c:
    • allow RTP/SAVP transport
    • set srtp transport creation option to 0 (prev:auto destroy underlying transport is enabled)
  • new pjmedia errno: PJMEDIA_SRTP_ESDPREQSECTP: Secure transport required in SDP media descriptor. PJMEDIA_SRTP_ESDPAMBIGUEANS: SDP contains ambigue answer.
  • transport_srtp:
    • updating log & error code
    • bug fix: release pool after destroying other objects


File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/users/nanang/pjsip/src/pjsua-lib/pjsua_media.c

    r1698 r1700  
    538538        if (pjsua_var.media_cfg.enable_srtp) { 
    539539            pjmedia_transport *tp; 
    540             unsigned srtp_options =  
    541                                 PJMEDIA_SRTP_AUTO_CLOSE_UNDERLYING_TRANSPORT; 
     540            unsigned srtp_options = 0; 
    542541 
    543542            status = pjmedia_transport_udp_attach(pjsua_var.med_endpt, NULL, 
     
    928927    for (i=0; i < sess_info.stream_cnt; ++i) { 
    929928        if (sess_info.stream_info[i].type == PJMEDIA_TYPE_AUDIO && 
    930             sess_info.stream_info[i].proto == PJMEDIA_TP_PROTO_RTP_AVP) 
     929            (sess_info.stream_info[i].proto == PJMEDIA_TP_PROTO_RTP_AVP || 
     930             sess_info.stream_info[i].proto == PJMEDIA_TP_PROTO_RTP_SAVP)) 
    931931        { 
    932932            si = &sess_info.stream_info[i]; 
Note: See TracChangeset for help on using the changeset viewer.