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/src/pjsua-lib/pjsua_aud.c

    r4243 r4254  
    561561} 
    562562 
    563  
     563/* Internal function: update audio channel after SDP negotiation. 
     564 * Warning: do not use temporary/flip-flop pool, e.g: inv->pool_prov, 
     565 *          for creating stream, etc, as after SDP negotiation and when 
     566 *          the SDP media is not changed, the stream should remain running 
     567 *          while the temporary/flip-flop pool may be released. 
     568 */ 
    564569pj_status_t pjsua_aud_channel_update(pjsua_call_media *call_med, 
    565570                                     pj_pool_t *tmp_pool, 
     
    680685            } 
    681686            status = pjmedia_conf_add_port( pjsua_var.mconf, 
    682                                             call->inv->pool_prov, 
     687                                            call->inv->pool, 
    683688                                            media_port, 
    684689                                            &port_name, 
Note: See TracChangeset for help on using the changeset viewer.