diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-10-01 05:00:57 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-10-01 05:00:57 +0000 |
commit | b26d40d558f5be24bed5fb107cd4844f3cea1a03 (patch) | |
tree | cb2f7f217f4886b067cc01be4bd66966294e26db /pjnath/include/pjnath/ice_strans.h | |
parent | 087474f737e1bec37fe4507b024c6db3a794be90 (diff) |
Fixed #1674: Deadlock when third party media employs external lock and ICE is active
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4606 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include/pjnath/ice_strans.h')
-rw-r--r-- | pjnath/include/pjnath/ice_strans.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/ice_strans.h b/pjnath/include/pjnath/ice_strans.h index fe38ff58..340bf605 100644 --- a/pjnath/include/pjnath/ice_strans.h +++ b/pjnath/include/pjnath/ice_strans.h @@ -564,6 +564,14 @@ PJ_DECL(pj_status_t) pj_ice_strans_get_options(pj_ice_strans *ice_st, PJ_DECL(pj_status_t) pj_ice_strans_set_options(pj_ice_strans *ice_st, const pj_ice_sess_options *opt); +/** + * Get the group lock for this ICE stream transport. + * + * @param ice_st The ICE stream transport. + * + * @return The group lock. + */ +PJ_DECL(pj_grp_lock_t *) pj_ice_strans_get_grp_lock(pj_ice_strans *ice_st); /** * Initialize the ICE session in the ICE stream transport. |