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/pjmedia/src/pjmedia/stream.c

    r4223 r4254  
    19901990    stream->own_pool = own_pool; 
    19911991    pj_memcpy(&stream->si, info, sizeof(*info)); 
     1992    stream->si.param = pjmedia_codec_param_clone(pool, info->param); 
    19921993 
    19931994    /* Init stream/port name */ 
Note: See TracChangeset for help on using the changeset viewer.