Changeset 419 for pjproject/trunk


Ignore:
Timestamp:
Apr 28, 2006 3:37:12 PM (19 years ago)
Author:
bennylp
Message:

Increase the maximum number of formats in SDP media line (from 16 to 32)

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/config.c

    r418 r419  
    2222 
    2323static const char *id = "config.c"; 
    24 const char *PJ_VERSION = "0.5.4.11"; 
     24const char *PJ_VERSION = "0.5.4.12"; 
    2525 
    2626PJ_DEF(void) pj_dump_config(void) 
  • pjproject/trunk/pjmedia/include/pjmedia/sdp.h

    r411 r419  
    4545 */ 
    4646#ifndef PJMEDIA_MAX_SDP_FMT 
    47 #   define PJMEDIA_MAX_SDP_FMT          16 
     47#   define PJMEDIA_MAX_SDP_FMT          32 
    4848#endif 
    4949 
  • pjproject/trunk/pjmedia/src/pjmedia/endpoint.c

    r411 r419  
    284284    pjmedia_sdp_attr *attr; 
    285285 
     286    /* Sanity check arguments */ 
    286287    PJ_ASSERT_RETURN(endpt && pool && p_sdp && stream_cnt, PJ_EINVAL); 
    287288 
     289    /* Check that there are not too many codecs */ 
     290    PJ_ASSERT_RETURN(endpt->codec_mgr.codec_cnt <= PJMEDIA_MAX_SDP_FMT, 
     291                     PJ_ETOOMANY); 
    288292 
    289293    /* Create and initialize basic SDP session */ 
Note: See TracChangeset for help on using the changeset viewer.