Ignore:
Timestamp:
Sep 14, 2012 4:06:29 AM (12 years ago)
Author:
nanang
Message:

Close #1568:

  • Added media change detection based on SDP negotiation result and local codec param settings, the detection result will decide whether the media should be re-initialized after the SDP negotiation.
  • Fixed stream to keep the duplicate of codec param for the stream info (was only copying the pointer).
  • Introduced macro PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO & PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT.
File:
1 edited

Legend:

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

    r4225 r4254  
    52375237 
    52385238/** 
     5239 * Specify whether the third party stream has the capability of retrieving 
     5240 * the stream info, i.e: pjmedia_stream_get_info() and 
     5241 * pjmedia_vid_stream_get_info(). Currently this capability is required 
     5242 * by smart media update and call dump. 
     5243 */ 
     5244#ifndef PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO 
     5245#   define PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO    0 
     5246#endif 
     5247 
     5248 
     5249/** 
     5250 * Specify whether the third party stream has the capability of retrieving 
     5251 * the stream statistics, i.e: pjmedia_stream_get_stat() and 
     5252 * pjmedia_vid_stream_get_stat(). Currently this capability is required 
     5253 * by call dump. 
     5254 */ 
     5255#ifndef PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT 
     5256#   define PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT    0 
     5257#endif 
     5258 
     5259 
     5260/** 
    52395261 * Max ports in the conference bridge. This setting is the default value 
    52405262 * for pjsua_media_config.max_media_ports. 
     
    55495571     */ 
    55505572    pj_bool_t vid_preview_enable_native; 
     5573 
     5574    /** 
     5575     * Disable smart media update (ticket #1568). The smart media update 
     5576     * will check for any changes in the media properties after a successful 
     5577     * SDP negotiation and the media will only be reinitialized when any 
     5578     * change is found. When it is disabled, media streams will always be 
     5579     * reinitialized after a successful SDP negotiation. 
     5580     * 
     5581     * Note for third party media, the smart media update requires stream info 
     5582     * retrieval capability, see #PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO. 
     5583     * 
     5584     * Default: PJ_FALSE 
     5585     */ 
     5586    pj_bool_t no_smart_media_update; 
    55515587}; 
    55525588 
Note: See TracChangeset for help on using the changeset viewer.