Changeset 5597 for pjproject/trunk/pjmedia/include/pjmedia/transport_ice.h
- Timestamp:
- Jun 3, 2017 9:22:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport_ice.h
r4606 r5597 59 59 pj_ice_strans_op op, 60 60 pj_status_t status); 61 62 /** 63 * This callback will be called when ICE negotiation completes, with 64 * application user data. Note that if both callbacks are implemented, 65 * only this callback will be invoked. 66 * 67 * @param tp PJMEDIA ICE transport. 68 * @param op The operation 69 * @param status Operation status. 70 * @param user_data User data for this callback. 71 */ 72 void (*on_ice_complete2)(pjmedia_transport *tp, 73 pj_ice_strans_op op, 74 pj_status_t status, 75 void *user_data); 61 76 62 77 } pjmedia_ice_cb; … … 231 246 PJ_DECL(pj_grp_lock_t *) pjmedia_ice_get_grp_lock(pjmedia_transport *tp); 232 247 248 249 /** 250 * Add application to receive ICE notifications from the specified ICE media 251 * transport. 252 * 253 * @param tp The ICE media transport. 254 * @param cb The ICE specific callbacks. 255 * @param user_data Optional application user data. 256 * 257 * @return PJ_SUCCESS on success, or the appropriate error code. 258 */ 259 PJ_DECL(pj_status_t) pjmedia_ice_add_ice_cb(pjmedia_transport *tp, 260 const pjmedia_ice_cb *cb, 261 void *user_data); 262 263 264 /** 265 * Remove application to stop receiving ICE notifications from the specified 266 * ICE media transport. 267 * 268 * @param tp The ICE media transport. 269 * @param cb The ICE specific callbacks. 270 * @param user_data Optional application user data. The same user data 271 * passed to pjmedia_ice_add_ice_cb(), this is for 272 * validation purpose. 273 * 274 * @return PJ_SUCCESS on success, or the appropriate error code. 275 */ 276 PJ_DECL(pj_status_t) pjmedia_ice_remove_ice_cb(pjmedia_transport *tp, 277 const pjmedia_ice_cb *cb, 278 void *user_data); 279 280 233 281 PJ_END_DECL 234 282
Note: See TracChangeset
for help on using the changeset viewer.