Ignore:
Timestamp:
Jan 17, 2008 5:29:36 PM (16 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/pjmedia/include/pjmedia/transport_udp.h

    r1615 r1698  
    5454    PJMEDIA_UDP_NO_SRC_ADDR_CHECKING = 1 
    5555}; 
    56  
    57  
    58 /** 
    59  * UDP transport info. 
    60  */ 
    61 typedef struct pjmedia_transport_udp_info 
    62 { 
    63     /** 
    64      * Media socket info. 
    65      */ 
    66     pjmedia_sock_info   skinfo; 
    67  
    68 } pjmedia_transport_udp_info; 
    6956 
    7057 
     
    138125                                                   pjmedia_transport **p_tp); 
    139126 
    140 /** 
    141  * Get media socket info from the specified UDP transport. 
    142  * 
    143  * @param tp        The UDP transport interface. 
    144  * @param info      Media socket info to be initialized. 
    145  * 
    146  * @return          PJ_SUCCESS on success. 
    147  */ 
    148 PJ_DECL(pj_status_t)  
    149 pjmedia_transport_udp_get_info( pjmedia_transport *tp, 
    150                                 pjmedia_transport_udp_info *info); 
    151  
    152127 
    153128/** 
     
    170145 
    171146 
    172 /** 
    173  * Simulate packet lost in the specified direction (for testing purposes). 
    174  * When enabled, the transport will randomly drop packets to the specified 
    175  * direction. 
    176  * 
    177  * @param tp        The UDP media transport. 
    178  * @param dir       Media direction to which packets will be randomly dropped. 
    179  * @param pct_lost  Percent lost (0-100). Set to zero to disable packet 
    180  *                  lost simulation. 
    181  * 
    182  * @return          PJ_SUCCESS on success. 
    183  */ 
    184 PJ_DECL(pj_status_t) pjmedia_transport_udp_simulate_lost(pjmedia_transport *tp, 
    185                                                          pjmedia_dir dir, 
    186                                                          unsigned pct_lost); 
    187  
    188  
    189  
    190 /** 
    191  * Close UDP transport. Application can also use the "destroy" member of 
    192  * media transport interface to close the UDP transport. 
    193  * 
    194  * @param tp        The UDP media transport. 
    195  * 
    196  * @return          PJ_SUCCESS on success. 
    197  */ 
    198 PJ_DECL(pj_status_t) pjmedia_transport_udp_close(pjmedia_transport *tp); 
    199  
    200  
    201  
    202147PJ_END_DECL 
    203148 
Note: See TracChangeset for help on using the changeset viewer.