Changeset 2276 for pjproject/trunk/pjmedia/include/pjmedia/transport_ice.h
- Timestamp:
- Sep 11, 2008 6:43:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport_ice.h
r2039 r2276 63 63 64 64 /** 65 * Options that can be specified when creating ICE transport. 66 */ 67 enum pjmedia_transport_ice_options 68 { 69 /** 70 * Normally when remote doesn't use ICE, the ICE transport will 71 * continuously check the source address of incoming packets to see 72 * if it is different than the configured remote address, and switch 73 * the remote address to the source address of the packet if they 74 * are different after several packets are received. 75 * Specifying this option will disable this feature. 76 */ 77 PJMEDIA_ICE_NO_SRC_ADDR_CHECKING = 1 78 }; 79 80 81 /** 65 82 * Create the Interactive Connectivity Establishment (ICE) media transport 66 83 * using the specified configuration. When STUN or TURN (or both) is used, … … 95 112 pjmedia_transport **p_tp); 96 113 114 115 /** 116 * The same as @pjmedia_ice_create with additional \a options param. 117 * 118 * @param endpt The media endpoint. 119 * @param name Optional name to identify this ICE media transport 120 * for logging purposes. 121 * @param comp_cnt Number of components to be created. 122 * @param cfg Pointer to configuration settings. 123 * @param cb Optional structure containing ICE specific callbacks. 124 * @param options Options, see #pjmedia_transport_ice_options. 125 * @param p_tp Pointer to receive the media transport instance. 126 * 127 * @return PJ_SUCCESS on success, or the appropriate error code. 128 */ 129 PJ_DECL(pj_status_t) pjmedia_ice_create2(pjmedia_endpt *endpt, 130 const char *name, 131 unsigned comp_cnt, 132 const pj_ice_strans_cfg *cfg, 133 const pjmedia_ice_cb *cb, 134 unsigned options, 135 pjmedia_transport **p_tp); 136 97 137 PJ_END_DECL 98 138
Note: See TracChangeset
for help on using the changeset viewer.