summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
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;