Ignore:
Timestamp:
Mar 19, 2013 3:51:10 AM (11 years ago)
Author:
nanang
Message:

Re #1644: Added run-time setting 'pjsip_cfg()->follow_early_media_fork' and compile-time setting 'PJSIP_FOLLOW_EARLY_MEDIA_FORK', the default value is PJ_TRUE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r4285 r4441  
    112112        pj_bool_t disable_tcp_switch; 
    113113 
     114        /** 
     115         * Enable call media session to always be updated to the latest 
     116         * received early media SDP when receiving forked early media 
     117         * (multiple 183 responses with different To tag). 
     118         * 
     119         * Default is PJSIP_FOLLOW_EARLY_MEDIA_FORK. 
     120         */ 
     121        pj_bool_t follow_early_media_fork; 
     122 
    114123    } endpt; 
    115124 
     
    293302 
    294303/** 
     304 * Specify whether the call media session should be updated to the latest 
     305 * received early media SDP when receiving forked early media (multiple 183 
     306 * responses with different To tag). 
     307 * 
     308 * This option can also be controlled at run-time by the 
     309 * \a follow_early_media_fork setting in pjsip_cfg_t. 
     310 * 
     311 * Default is PJ_TRUE. 
     312 */ 
     313#ifndef PJSIP_FOLLOW_EARLY_MEDIA_FORK 
     314#   define PJSIP_FOLLOW_EARLY_MEDIA_FORK            PJ_TRUE 
     315#endif 
     316 
     317 
     318/** 
    295319 * Accept call replace in early state when invite is not initiated 
    296320 * by the user agent. RFC 3891 Section 3 disallows this, however, 
Note: See TracChangeset for help on using the changeset viewer.