PayloadTypes.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
#ifndef SDP_PAYLOAD_TYPES_H
00016
#define SDP_PAYLOAD_TYPES_H
00017
00018
#include "mnstream.h"
00019
00020
namespace SDP
00021 {
00022
00040 enum PayloadTypes
00041 {
00042
PT_EXPECT_DYNAMIC = -2,
00043
PT_UNDEFINED = -1,
00044
00045
00046
PT_PCMU = 0,
00047
PT_DEFAULT =
PT_PCMU,
00048
PT_1016 = 1,
00049
PT_G721 = 2,
00050
PT_GSM = 3,
00051
PT_G723 = 4,
00052
PT_DVI4 = 5,
00053
PT_DVI42 = 6,
00054
PT_LPC = 7,
00055
PT_PCMA = 8,
00056
PT_G722 = 9,
00057
PT_L16 = 10,
00058
PT_L162 = 11,
00059
PT_QCELP = 12,
00060
PT_CN = 13,
00061
PT_MPA = 14,
00062
PT_G728 = 15,
00063
PT_DVI43 = 16,
00064
PT_DVI44 = 17,
00065
PT_G729 = 18,
00066
00067
PT_CELLB = 25,
00068
PT_JPEG = 26,
00069
PT_CUSM = 27,
00070
PT_NV = 28,
00071
PT_PICW = 29,
00072
PT_CPV = 30,
00073
PT_H261 = 31,
00074
PT_MPV = 32,
00075
PT_MPEG =
PT_MPV,
00076
PT_MP2T = 33,
00077
PT_H263 = 34,
00078
PT_SPEG = 35,
00079
00080
00081
00082
PT_X_LD = 95,
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
PT_D_GSM_HR = 200,
00101
PT_D_GSM_EFR = 201,
00102
PT_D_L8 = 202,
00103
PT_D_RED = 203,
00104
PT_D_VDVI = 204,
00105
00106
PT_D_BT656 = 220,
00107
PT_D_H263_1998 = 221,
00108
PT_D_MP1S = 222,
00109
PT_D_MP2P = 223,
00110
PT_D_BMPEG = 224,
00111
00112
PT_MP4V = 230,
00113
PT_MP4A = 237,
00114
PT_JVC_ASF = 255,
00115
00116
PT_D_AVI = 256,
00117
00118
PT_MAX = 257
00119 };
00120
00123 PayloadTypes
pt_from_int(
int val );
00124
00127
bool is_known_pt(
int val );
00128
00131
bool is_layered_pt( PayloadTypes val );
00132
00135
bool is_audio_pt( PayloadTypes val );
00136
00139
bool is_multiplexed_pt( PayloadTypes val );
00140
00143
int default_rate_from_pt( PayloadTypes pt );
00144
00147
int default_channels_from_pt( PayloadTypes pt );
00148
00149 ostream&
operator<<( ostream& ostr, PayloadTypes t );
00150
00151 };
00152
00153
#endif
Generated on Sun Mar 6 13:35:49 2005 for Komssys by
1.3.8