--- pjproject-2.4.5/pjnath/src/pjnath/ice_strans.c.orig 2015-08-07 07:44:40.000000000 +0200
+++ pjproject-2.4.5/pjnath/src/pjnath/ice_strans.c 2016-09-20 10:58:38.664264449 +0200
@@ -797,6 +797,8 @@
return PJ_SUCCESS;
}
+PJ_DECL(pj_ice_sess *) pj_ice_strans_get_ice_sess(pj_ice_strans *ice_st);
+
/**
* Get the group lock for this ICE stream transport.
*/
@@ -951,6 +953,11 @@
}
}
+PJ_DECL(pj_ice_sess *) pj_ice_strans_get_ice_sess( pj_ice_strans *ice_st )
+{
+ return ice_st->ice;
+}
+
/*
* Get the ICE username fragment and password of the ICE session.