- Timestamp:
- Apr 6, 2011 7:01:55 AM (14 years ago)
- Location:
- pjproject/branches/projects/2.0-dev/pjmedia
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/codec.h
r3199 r3498 241 241 } pjmedia_codec_info; 242 242 243 #define PJMEDIA_CODEC_MAX_FMTP_CNT 8244 245 243 /** 246 244 * Structure of codec specific parameters which contains name=value pairs. -
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/config.h
r3451 r3498 569 569 570 570 /** 571 * Maximum number of parameters in SDP fmtp attribute. 572 * 573 * Default: 16 574 */ 575 #ifndef PJMEDIA_CODEC_MAX_FMTP_CNT 576 # define PJMEDIA_CODEC_MAX_FMTP_CNT 16 577 #endif 578 579 580 /** 571 581 * This specifies the behavior of the SDP negotiator when responding to an 572 582 * offer, whether it should rather use the codec preference as set by -
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/stream_common.c
r3419 r3498 18 18 */ 19 19 #include <pjmedia/stream_common.h> 20 #include <pj/log.h> 21 22 #define THIS_FILE "stream_common.c" 20 23 21 24 /* … … 56 59 while (p < p_end) { 57 60 char *token, *start, *end; 61 62 if (fmtp->cnt >= PJMEDIA_CODEC_MAX_FMTP_CNT) { 63 PJ_LOG(4,(THIS_FILE, 64 "Warning: fmtp parameter count exceeds " 65 "PJMEDIA_CODEC_MAX_FMTP_CNT")); 66 return PJ_SUCCESS; 67 } 58 68 59 69 /* Skip whitespaces */
Note: See TracChangeset
for help on using the changeset viewer.