Ignore:
Timestamp:
Oct 20, 2010 5:31:08 AM (14 years ago)
Author:
bennylp
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h

    r3330 r3349  
    9494    struct { 
    9595        pj_timer_entry   reinv_timer;/**< Reinvite retry timer.             */ 
    96         pjmedia_sdp_session *new_sdp;/**< The new SDP offer.                */ 
     96        pj_uint32_t      sdp_ver;    /**< SDP version of the bad answer     */ 
     97        int              retry_cnt;  /**< Retry count.                      */ 
    9798    } lock_codec;                    /**< Data for codec locking when answer 
    9899                                          contains multiple codecs.         */ 
Note: See TracChangeset for help on using the changeset viewer.