1 /* rtp_pt.h 2 * Defines RTP payload types 3 * 4 * Wireshark - Network traffic analyzer 5 * By Gerald Combs <gerald@wireshark.org> 6 * Copyright 1998 Gerald Combs 7 * 8 * SPDX-License-Identifier: GPL-2.0-or-later 9 */ 10 11 #ifndef __RTP_PT_H__ 12 #define __RTP_PT_H__ 13 14 #include <epan/value_string.h> 15 #include "ws_symbol_export.h" 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif /* __cplusplus */ 20 21 /* 22 * RTP Payload types 23 * Table B.2 / H.225.0 24 * Also RFC 3551, and 25 * 26 * http://www.iana.org/assignments/rtp-parameters 27 */ 28 #define PT_PCMU 0 /* RFC 3551 */ 29 #define PT_1016 1 /* RFC 1890 (reserved in RFC 3551) */ 30 #define PT_G721 2 /* RFC 1890 (reserved in RFC 3551) */ 31 #define PT_GSM 3 /* RFC 3551 */ 32 #define PT_G723 4 /* From Vineet Kumar of Intel; see the Web page */ 33 #define PT_DVI4_8000 5 /* RFC 3551 */ 34 #define PT_DVI4_16000 6 /* RFC 3551 */ 35 #define PT_LPC 7 /* RFC 3551 */ 36 #define PT_PCMA 8 /* RFC 3551 */ 37 #define PT_G722 9 /* RFC 3551 */ 38 #define PT_L16_STEREO 10 /* RFC 3551 */ 39 #define PT_L16_MONO 11 /* RFC 3551 */ 40 #define PT_QCELP 12 /* Qualcomm Code Excited Linear Predictive coding? */ 41 #define PT_CN 13 /* RFC 3389 */ 42 #define PT_MPA 14 /* RFC 3551, RFC 2250 */ 43 #define PT_G728 15 /* RFC 3551 */ 44 #define PT_DVI4_11025 16 /* from Joseph Di Pol of Sun; see the Web page */ 45 #define PT_DVI4_22050 17 /* from Joseph Di Pol of Sun; see the Web page */ 46 #define PT_G729 18 47 #define PT_CN_OLD 19 /* Payload type reserved (old version Comfort Noise) */ 48 #define PT_CELB 25 /* RFC 2029 */ 49 #define PT_JPEG 26 /* RFC 2435 */ 50 #define PT_NV 28 /* RFC 1890 */ 51 #define PT_H261 31 /* RFC 2032 */ 52 #define PT_MPV 32 /* RFC 2250 */ 53 #define PT_MP2T 33 /* RFC 2250 */ 54 #define PT_H263 34 /* from Chunrong Zhu of Intel; see the Web page */ 55 56 /* Added to by Alex Lindberg to cover port ranges 96-127 - Dynamic RTP 57 Some of these ports are used by Avaya for Modem and FAX support */ 58 59 #define PT_UNDF_96 96 /* RFC 3551 */ 60 #define PT_UNDF_97 97 61 #define PT_UNDF_98 98 62 #define PT_UNDF_99 99 63 #define PT_UNDF_100 100 64 #define PT_UNDF_101 101 65 #define PT_UNDF_102 102 66 #define PT_UNDF_103 103 67 #define PT_UNDF_104 104 68 #define PT_UNDF_105 105 69 #define PT_UNDF_106 106 70 #define PT_UNDF_107 107 71 #define PT_UNDF_108 108 72 #define PT_UNDF_109 109 73 #define PT_UNDF_110 110 74 #define PT_UNDF_111 111 75 #define PT_UNDF_112 112 76 #define PT_UNDF_113 113 77 #define PT_UNDF_114 114 78 #define PT_UNDF_115 115 79 #define PT_UNDF_116 116 80 #define PT_UNDF_117 117 81 #define PT_UNDF_118 118 82 #define PT_UNDF_119 119 83 #define PT_UNDF_120 120 84 #define PT_UNDF_121 121 85 #define PT_UNDF_122 122 86 #define PT_UNDF_123 123 87 #define PT_UNDF_124 124 88 #define PT_UNDF_125 125 89 #define PT_UNDF_126 126 90 #define PT_UNDF_127 127 91 92 WS_DLL_PUBLIC value_string_ext rtp_payload_type_vals_ext; 93 WS_DLL_PUBLIC value_string_ext rtp_payload_type_short_vals_ext; 94 95 #ifdef __cplusplus 96 } 97 #endif /* __cplusplus */ 98 99 #endif 100 101 /* 102 * Editor modelines - https://www.wireshark.org/tools/modelines.html 103 * 104 * Local variables: 105 * c-basic-offset: 4 106 * tab-width: 8 107 * indent-tabs-mode: nil 108 * End: 109 * 110 * vi: set shiftwidth=4 tabstop=8 expandtab: 111 * :indentSize=4:tabSize=8:noTabs=true: 112 */ 113