Changeset 6105 for pjproject/trunk/pjmedia/include/pjmedia-codec/types.h
- Timestamp:
- Nov 13, 2019 8:09:34 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-codec/types.h
r5791 r6105 42 42 * this library. Also see the header file <pjmedia/codec.h> for list 43 43 * of static payload types. 44 * 45 * These enumeration is for older audio codecs only, newer audio codec using 46 * dynamic payload type can simply assign PJMEDIA_RTP_PT_DYNAMIC in its 47 * payload type (i.e: pjmedia_codec_info.pt). Endpoint will automatically 48 * rearrange dynamic payload types in SDP generation. 44 49 */ 45 50 enum pjmedia_audio_pt 46 51 { 47 52 /* According to IANA specifications, dynamic payload types are to be in 48 * the range 96-127 (inclusive). This enum is structured to place the 49 * values of the payload types specified below into that range. 53 * the range 96-127 (inclusive), but this enum allows the value to be 54 * outside that range, later endpoint will rearrange dynamic payload types 55 * in SDP generation to be inside the 96-127 range and not equal to 56 * PJMEDIA_RTP_PT_TELEPHONE_EVENTS. 50 57 * 51 58 * PJMEDIA_RTP_PT_DYNAMIC is defined in <pjmedia/codec.h>. It is defined 52 59 * to be 96. 53 *54 * PJMEDIA_RTP_PT_TELEPHONE_EVENTS is defined in <pjmedia/config.h>.55 * The default value is 96.56 60 */ 57 #if PJMEDIA_RTP_PT_TELEPHONE_EVENTS58 PJMEDIA_RTP_PT_START = PJMEDIA_RTP_PT_TELEPHONE_EVENTS,59 #else60 61 PJMEDIA_RTP_PT_START = (PJMEDIA_RTP_PT_DYNAMIC-1), 61 #endif62 62 63 63 PJMEDIA_RTP_PT_SPEEX_NB, /**< Speex narrowband/8KHz */ … … 109 109 PJMEDIA_RTP_PT_L16_48KHZ_STEREO, /**< L16 @ 48KHz, stereo */ 110 110 #endif 111 112 /* Caution!113 * Ensure the value of the last pt above is <= 127.114 */115 111 }; 116 112
Note: See TracChangeset
for help on using the changeset viewer.