Ignore:
Timestamp:
Sep 24, 2014 8:26:33 AM (10 years ago)
Author:
nanang
Message:

Close #1793: Avoid call setting flags PJSUA_CALL_UNHOLD, PJSUA_CALL_UPDATE_CONTACT, and PJSUA_CALL_NO_SDP_OFFER to be sticky or reused in the next calls of pjsua_call_reinvite/update().

File:
1 edited

Legend:

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

    r4921 r4929  
    613613     * Bitmask of #pjsua_call_flag constants. 
    614614     * 
    615      * Default: 0 
     615     * Default: PJSUA_CALL_INCLUDE_DISABLED_MEDIA 
    616616     */ 
    617617    unsigned         flag; 
     
    620620     * This flag controls what methods to request keyframe are allowed on 
    621621     * the call. Value is bitmask of #pjsua_vid_req_keyframe_method. 
     622     * 
     623     * Default: PJSUA_VID_REQ_KEYFRAME_SIP_INFO 
    622624     */ 
    623625    unsigned         req_keyframe_method; 
     
    40864088    /** 
    40874089     * When the call is being put on hold, specify this flag to unhold it. 
    4088      * This flag is only valid for #pjsua_call_reinvite(). Note: for 
    4089      * compatibility reason, this flag must have value of 1 because 
    4090      * previously the unhold option is specified as boolean value. 
     4090     * This flag is only valid for #pjsua_call_reinvite() and 
     4091     * #pjsua_call_update(). Note: for compatibility reason, this flag must 
     4092     * have value of 1 because previously the unhold option is specified as 
     4093     * boolean value. 
    40914094     */ 
    40924095    PJSUA_CALL_UNHOLD = 1, 
     
    41064109     * Include SDP "m=" line with port set to zero for each disabled media 
    41074110     * (i.e when aud_cnt or vid_cnt is set to zero). This flag is only valid 
    4108      * for #pjsua_call_make_call(). 
     4111     * for #pjsua_call_make_call(), #pjsua_call_reinvite(), and 
     4112     * #pjsua_call_update(). Note that even this flag is applicable in 
     4113     * #pjsua_call_reinvite() and #pjsua_call_update(), it will only take 
     4114     * effect when the re-INVITE/UPDATE operation regenerates SDP offer, 
     4115     * such as changing audio or video count in the call setting. 
    41094116     */ 
    41104117    PJSUA_CALL_INCLUDE_DISABLED_MEDIA = 4, 
     
    45914598 
    45924599/** 
    4593  * Send re-INVITE to release hold. 
     4600 * Send re-INVITE request or release hold. 
    45944601 * The final status of the request itself will be reported on the 
    45954602 * \a on_call_media_state() callback, which inform the application that 
     
    46114618 
    46124619/** 
    4613  * Send re-INVITE to release hold. 
     4620 * Send re-INVITE request or release hold. 
    46144621 * The final status of the request itself will be reported on the 
    46154622 * \a on_call_media_state() callback, which inform the application that 
     
    46184625 * @param call_id       Call identification. 
    46194626 * @param opt           Optional call setting, if NULL, the current call 
    4620  *                      setting will remain unchanged. 
     4627 *                      setting will be used. Note that to release hold 
     4628 *                      or update contact or omit SDP offer, this parameter 
     4629 *                      cannot be NULL and it must specify appropriate flags, 
     4630 *                      e.g: PJSUA_CALL_UNHOLD, PJSUA_CALL_UPDATE_CONTACT, 
     4631 *                      PJSUA_CALL_NO_SDP_OFFER. 
    46214632 * @param msg_data      Optional message components to be sent with 
    46224633 *                      the request. 
     
    46494660 * @param call_id       Call identification. 
    46504661 * @param opt           Optional call setting, if NULL, the current call 
    4651  *                      setting will remain unchanged. 
     4662 *                      setting will be used. Note that to release hold 
     4663 *                      or update contact or omit SDP offer, this parameter 
     4664 *                      cannot be NULL and it must specify appropriate flags, 
     4665 *                      e.g: PJSUA_CALL_UNHOLD, PJSUA_CALL_UPDATE_CONTACT, 
     4666 *                      PJSUA_CALL_NO_SDP_OFFER. 
    46524667 * @param msg_data      Optional message components to be sent with 
    46534668 *                      the request. 
Note: See TracChangeset for help on using the changeset viewer.