diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-10-20 05:31:08 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-10-20 05:31:08 +0000 |
commit | bc409e2e1664fcd662c6ddd67697b459e50761ad (patch) | |
tree | c2534aad4cc7524806ff5dc9345867369c89fec1 /pjsip/include/pjsua-lib/pjsua_internal.h | |
parent | 708eec1774648bb261f59e109daf1751850514ed (diff) |
Fixed #1149 (Crash when holding the call after receiving SDP answer with multiple codecs (thanks Cyril GY for the report)):
- avoid using pre-created SDP, but rather use timer and create SDP right when the UPDATE/re-INVITE is about to be sent, to avoid the use of stale pool
- also fixed bug in the old code when the lock codec feature is not activated after the call is confirmed
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3349 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua_internal.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index ff57d29d..3126b889 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -93,7 +93,8 @@ typedef struct pjsua_call struct { pj_timer_entry reinv_timer;/**< Reinvite retry timer. */ - pjmedia_sdp_session *new_sdp;/**< The new SDP offer. */ + pj_uint32_t sdp_ver; /**< SDP version of the bad answer */ + int retry_cnt; /**< Retry count. */ } lock_codec; /**< Data for codec locking when answer contains multiple codecs. */ |