Changeset 3345 for pjproject/trunk
- Timestamp:
- Oct 14, 2010 8:30:57 AM (14 years ago)
- Location:
- pjproject/trunk/pjmedia/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-codec/types.h
r3146 r3345 44 44 enum 45 45 { 46 /* PJMEDIA_RTP_PT_TELEPHONE_EVENTS is declared in 47 * <pjmedia/config.h> 46 /* According to IANA specifications, dynamic payload types are to be in 47 * the range 96-127 (inclusive). This enum is structured to place the 48 * values of the payload types specified below into that range. 49 * 50 * PJMEDIA_RTP_PT_DYNAMIC is defined in <pjmedia/codec.h>. It is defined 51 * to be 96. 52 * 53 * PJMEDIA_RTP_PT_TELEPHONE_EVENTS is defined in <pjmedia/config.h>. 54 * The default value is 96. 48 55 */ 49 56 #if PJMEDIA_RTP_PT_TELEPHONE_EVENTS 50 57 PJMEDIA_RTP_PT_START = PJMEDIA_RTP_PT_TELEPHONE_EVENTS, 51 58 #else 52 PJMEDIA_RTP_PT_START = 102,59 PJMEDIA_RTP_PT_START = (PJMEDIA_RTP_PT_DYNAMIC-1), 53 60 #endif 54 61 … … 84 91 PJMEDIA_RTP_PT_G7221_RSV1, /**< G722.1 reserve */ 85 92 PJMEDIA_RTP_PT_G7221_RSV2, /**< G722.1 reserve */ 93 94 /* Caution! 95 * Ensure the value of the last pt above is <= 127. 96 */ 86 97 }; 87 98 -
pjproject/trunk/pjmedia/include/pjmedia/config.h
r3239 r3345 624 624 */ 625 625 #ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS 626 # define PJMEDIA_RTP_PT_TELEPHONE_EVENTS 101626 # define PJMEDIA_RTP_PT_TELEPHONE_EVENTS 96 627 627 #endif 628 628 … … 633 633 */ 634 634 #ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR 635 # define PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR " 101"635 # define PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR "96" 636 636 #endif 637 637
Note: See TracChangeset
for help on using the changeset viewer.