Changeset 637 for pjproject/trunk/pjmedia/include/pjmedia/transport_udp.h
- Timestamp:
- Jul 31, 2006 3:19:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport_udp.h
r622 r637 145 145 146 146 /** 147 * Simulate packet lost in the specified direction (for testing purposes). 148 * When enabled, the transport will randomly drop packets to the specified 149 * direction. 150 * 151 * @param tp The UDP media transport. 152 * @param dir Media direction to which packets will be randomly dropped. 153 * @param pct_lost Percent lost (0-100). Set to zero to disable packet 154 * lost simulation. 155 * 156 * @return PJ_SUCCESS on success. 157 */ 158 PJ_DECL(pj_status_t) pjmedia_transport_udp_simulate_lost(pjmedia_transport *tp, 159 pjmedia_dir dir, 160 unsigned pct_lost); 161 162 163 164 /** 147 165 * Close UDP transport. Application can also use the "destroy" member of 148 166 * media transport interface to close the UDP transport. 167 * 168 * @param tp The UDP media transport. 169 * 170 * @return PJ_SUCCESS on success. 149 171 */ 150 172 PJ_DECL(pj_status_t) pjmedia_transport_udp_close(pjmedia_transport *tp);
Note: See TracChangeset
for help on using the changeset viewer.