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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.