Ignore:
Timestamp:
Apr 6, 2011 1:55:01 PM (11 years ago)
Author:
nanang
Message:

Re #1186:

  • Added custom negotiation callback mechanism in SDP negotiator, mainly for specific formats that require SDP fmtp negotiation.
  • Modified video codec ID string to use encoding name+payload type (was encoding name+clock rate), also added encoding description in video codec info, so duplicated codecs (e.g: multiple H264 configurations) can be differentiated.
  • Few enhancements for H264 in ffmpeg wrapper (e.g: added proper profile-id & packetization-mode setup).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/stream_common.c

    r3498 r3500  
    8787        /* Store token */ 
    8888        if (end > start) { 
    89             token = (char*)pj_pool_alloc(pool, end - start); 
    90             pj_ansi_strncpy(token, start, end - start); 
     89            if (pool) { 
     90                token = (char*)pj_pool_alloc(pool, end - start); 
     91                pj_ansi_strncpy(token, start, end - start); 
     92            } else { 
     93                token = start; 
     94            } 
    9195            if (*p == '=') 
    9296                /* Got param name */ 
Note: See TracChangeset for help on using the changeset viewer.