summaryrefslogtreecommitdiffstats
path: root/libraries/pjproject-ring/patches/pj_uwp_ice_sess.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pjproject-ring/patches/pj_uwp_ice_sess.patch')
-rw-r--r--libraries/pjproject-ring/patches/pj_uwp_ice_sess.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/libraries/pjproject-ring/patches/pj_uwp_ice_sess.patch b/libraries/pjproject-ring/patches/pj_uwp_ice_sess.patch
new file mode 100644
index 0000000000..ce4e0b4898
--- /dev/null
+++ b/libraries/pjproject-ring/patches/pj_uwp_ice_sess.patch
@@ -0,0 +1,25 @@
+--- a/pjnath/include/pjnath/ice_strans.h
++++ b/pjnath/include/pjnath/ice_strans.h
+@@ -930,6 +930,7 @@
+ int dst_addr_len);
+
+
++PJ_DECL(pj_ice_sess *) pj_ice_strans_get_ice_sess(pj_ice_strans *ice_st);
+ /**
+ * @}
+ */
+--- a/pjnath/src/pjnath/ice_strans.c
++++ b/pjnath/src/pjnath/ice_strans.c
+@@ -1465,6 +1468,11 @@
+ return PJ_EINVALIDOP;
+ }
+
++PJ_DECL(pj_ice_sess *) pj_ice_strans_get_ice_sess( pj_ice_strans *ice_st )
++{
++ return ice_st->ice;
++}
++
+ /*
+ * Callback called by ICE session when ICE processing is complete, either
+ * successfully or with failure.
+ \ No newline at end of file