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/turn_session.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/turn_session.h')
-rw-r--r-- | pjnath/include/pjnath/turn_session.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/turn_session.h b/pjnath/include/pjnath/turn_session.h index d3adc79b..e4ae4d7b 100644 --- a/pjnath/include/pjnath/turn_session.h +++ b/pjnath/include/pjnath/turn_session.h @@ -513,6 +513,16 @@ PJ_DECL(void*) pj_turn_session_get_user_data(pj_turn_session *sess); /** + * Get the group lock for this TURN session. + * + * @param sess The TURN client session. + * + * @return The group lock. + */ +PJ_DECL(pj_grp_lock_t *) pj_turn_session_get_grp_lock(pj_turn_session *sess); + + +/** * Configure message logging. By default all flags are enabled. * * @param sess The TURN client session. |