Ignore:
Timestamp:
Jan 23, 2008 8:39:07 PM (12 years ago)
Author:
bennylp
Message:

Ticket #61: Implement SRTP support in PJMEDIA and PJSUA-LIB, and updated applications because of the changes. This is a major modification back ported from SRTP branch. See ticket #61 for changelog detail of this commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r1670 r1735  
    10061006    pjmedia_sdp_media *m; 
    10071007    pjmedia_sdp_attr *attr; 
    1008     pjmedia_transport_udp_info tpinfo; 
     1008    pjmedia_sock_info tpinfo; 
    10091009    struct media_stream *audio = &call->media[0]; 
    10101010 
     
    10131013 
    10141014    /* Get transport info */ 
    1015     pjmedia_transport_udp_get_info(audio->transport, &tpinfo); 
     1015    pjmedia_transport_get_info(audio->transport, &tpinfo); 
    10161016 
    10171017    /* Create and initialize basic SDP session */ 
     
    10471047    /* Standard media info: */ 
    10481048    m->desc.media = pj_str("audio"); 
    1049     m->desc.port = pj_ntohs(tpinfo.skinfo.rtp_addr_name.ipv4.sin_port); 
     1049    m->desc.port = pj_ntohs(tpinfo.rtp_addr_name.ipv4.sin_port); 
    10501050    m->desc.port_count = 1; 
    10511051    m->desc.transport = pj_str("RTP/AVP"); 
Note: See TracChangeset for help on using the changeset viewer.