Ignore:
Timestamp:
Apr 18, 2018 7:45:46 AM (14 months ago)
Author:
nanang
Message:

Re #2096: Start UDP transport earlier to allow early DTLS-SRTP nego.

File:
1 edited

Legend:

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

    r5769 r5783  
    672672    info->src_rtcp_name = udp->rtcp_src_addr; 
    673673 
     674    /* Add empty specific info */ 
     675    if (info->specific_info_cnt < PJ_ARRAY_SIZE(info->spc_info)) { 
     676        pjmedia_transport_specific_info *tsi; 
     677 
     678        tsi = &info->spc_info[info->specific_info_cnt++]; 
     679        tsi->type = PJMEDIA_TRANSPORT_TYPE_UDP; 
     680        tsi->cbsize = 0; 
     681    } 
     682 
    674683    return PJ_SUCCESS; 
    675684} 
Note: See TracChangeset for help on using the changeset viewer.