Ignore:
Timestamp:
Jan 17, 2008 5:29:36 PM (17 years ago)
Author:
nanang
Message:

Ticket #452:

  • Add directory srtp to third_party/build directory
  • Add libsrtp project & integrate it to pjproject vs8 solution
  • Add transport_srtp.h & .c
  • Modify project dependencies to include libsrtp
  • Modify Samples-vc.mak, add libsrtp as third party library
  • Modify transport interface
  • Modify transport_ice & transport_udp to accomodate new transport interface
  • Modify other files that uses transport
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/users/nanang/pjsip-apps/src/samples/siprtp.c

    r1670 r1698  
    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.