summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-09-14 10:19:47 +0000
committerBenny Prijono <bennylp@teluu.com>2007-09-14 10:19:47 +0000
commit560a0d9b22efac7c63b45566f8e69ac592421da1 (patch)
tree933d4967f161220aa7d3c0c98439649bc9b59296 /pjnath/include
parentd418ada288892e835119f82a9a9819e1fd842115 (diff)
Fixed ticket #372: Handle case where STUN mapped address has changed in ICE (thanks Ravin Suri)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1434 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/ice_strans.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/ice_strans.h b/pjnath/include/pjnath/ice_strans.h
index ba9d669a..efd09a48 100644
--- a/pjnath/include/pjnath/ice_strans.h
+++ b/pjnath/include/pjnath/ice_strans.h
@@ -162,6 +162,18 @@ typedef struct pj_ice_strans_cb
void (*on_ice_complete)(pj_ice_strans *ice_st,
pj_status_t status);
+ /**
+ * This callback will be called when ICE transport has detected that
+ * the STUN mapped address of a candidate has changed.
+ *
+ * @param ice_st The ICE stream transport.
+ * @param comp_id Component ID.
+ * @param cand_id Candidate ID.
+ */
+ void (*on_addr_change)(pj_ice_strans *ice_st,
+ unsigned comp_id,
+ unsigned cand_id);
+
} pj_ice_strans_cb;