summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-06-15 09:56:39 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-06-15 09:56:39 +0000
commitdd6dbfe6e6bcfbc11056633ffc5908bf684aab9b (patch)
treeeb8cd96c33e5dacc05ab569ad028d44446cd0b49 /pjsip/include
parenta839edc72b1d1ba81eec324db459a46a12499702 (diff)
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
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h6
1 files changed, 6 insertions, 0 deletions
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;