From dd6dbfe6e6bcfbc11056633ffc5908bf684aab9b Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Tue, 15 Jun 2010 09:56:39 +0000 Subject: Fix #476: - Added lock codec feature to make sure that only one codec is active, by updating media session using UPDATE (if remote supports it) or re-INVITE. - Added few SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3206 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua_internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h') diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index 877e6b8e..f20b73de 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -90,6 +90,12 @@ typedef struct pjsua_call char last_text_buf_[128]; /**< Buffer for last_text. */ + struct { + pj_timer_entry reinv_timer;/**< Reinvite retry timer. */ + pjmedia_sdp_session *new_sdp;/**< The new SDP offer. */ + } lock_codec; /**< Data for codec locking when answer + contains multiple codecs. */ + } pjsua_call; -- cgit v1.2.3