Ignore:
Timestamp:
Sep 14, 2012 4:06:29 AM (8 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/src/pjsua-lib/pjsua_vid.c

    r4236 r4254  
    706706} 
    707707 
    708 /* Internal function: update video channel after SDP negotiation */ 
     708/* Internal function: update video channel after SDP negotiation. 
     709 * Warning: do not use temporary/flip-flop pool, e.g: inv->pool_prov, 
     710 *          for creating stream, etc, as after SDP negotiation and when 
     711 *          the SDP media is not changed, the stream should remain running 
     712 *          while the temporary/flip-flop pool may be released. 
     713 */ 
    709714pj_status_t pjsua_vid_channel_update(pjsua_call_media *call_med, 
    710715                                     pj_pool_t *tmp_pool, 
Note: See TracChangeset for help on using the changeset viewer.