|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept xml:lang="en" id="GUID-7690509A-C5EA-5835-9298-11E22F49FC2F"><title>SDP Codec String Table</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>The predefined strings in the SDP Codec String Table are as shown in the following code. </p> <codeblock id="GUID-8701BF2E-179B-5AB0-848A-858A5ACF3114" xml:space="preserve">class SdpCodecStringConstants |
|
13 { |
|
14 public: |
|
15 enum TStrings |
|
16 { |
|
17 // SDP field names: |
|
18 /** v= */ |
|
19 EVersion, |
|
20 /** o= */ |
|
21 EOrigin, |
|
22 /** s= */ |
|
23 ESession, |
|
24 /** i= */ |
|
25 INFO, |
|
26 /** u= */ |
|
27 EUROS, |
|
28 /** e= */ |
|
29 E-MAIL, |
|
30 /** p= */ |
|
31 PHONE, |
|
32 /** c= */ |
|
33 CONNECTION, |
|
34 /** b= */ |
|
35 BANDWIDTH, |
|
36 /** z= */ |
|
37 EVZONE, |
|
38 /** k= */ |
|
39 EKE, |
|
40 /** a= */ |
|
41 ATTRIBUTE, |
|
42 /** t= */ |
|
43 TIME, |
|
44 /** r= */ |
|
45 REPEAT, |
|
46 /** m= */ |
|
47 MEDIA, |
|
48 |
|
49 // Predefined bandwidth modifiers: |
|
50 |
|
51 /** CT */ |
|
52 EModifierCT, |
|
53 /** AS */ |
|
54 EModifierAS, |
|
55 |
|
56 // Typed time units: |
|
57 |
|
58 /** d */ |
|
59 ETimeUnitDays, |
|
60 /** h */ |
|
61 ETimeUnitHours, |
|
62 /** m */ |
|
63 ETimeUnitMinutes, |
|
64 /** s */ |
|
65 ETimeUnitSeconds, |
|
66 /** No typed time unit defined */ |
|
67 ETimeUnitNone, |
|
68 |
|
69 // Predefined encryption methods: |
|
70 |
|
71 /** clear */ |
|
72 EMethodClear, |
|
73 /** base64 */ |
|
74 EMethodBase64, |
|
75 /** Uri */ |
|
76 EMethodUri, |
|
77 /** prompt */ |
|
78 EMethodPrompt, |
|
79 |
|
80 // Predefined attributes: |
|
81 |
|
82 /** cat */ |
|
83 EAttributeCat, |
|
84 /** keywds */ |
|
85 EAttributeKeywds, |
|
86 /** tool */ |
|
87 EAttributeTool, |
|
88 /** ptime */ |
|
89 EAttributePtime, |
|
90 /** maxptime */ |
|
91 EAttributeMaxptime, |
|
92 /** recvonly */ |
|
93 EAttributeRecvonly, |
|
94 /** sendrecv */ |
|
95 EAttributeSendrecv, |
|
96 /** sendonly */ |
|
97 EAttributeSendonly, |
|
98 /** inactive */ |
|
99 EAttributeInactive, |
|
100 /** orient */ |
|
101 EAttributeOrient, |
|
102 |
|
103 |
|
104 /** portrait */ |
|
105 EAttributeOrientValuePortrait, |
|
106 /** landscape */ |
|
107 EAttributeOrientValueLandscape, |
|
108 /** seascape */ |
|
109 EAttributeOrientValueSeascape, |
|
110 |
|
111 /** type */ |
|
112 EAttributeType, |
|
113 /** charset */ |
|
114 EAttributeCharset, |
|
115 /** sdplang */ |
|
116 EAttributeSdplang, |
|
117 /** lang */ |
|
118 EAttributeLang, |
|
119 /** framerate */ |
|
120 EAttributeFramerate, |
|
121 /** quality */ |
|
122 EAttributeQuality, |
|
123 /** control */ |
|
124 EAttributeControl, |
|
125 /** range */ |
|
126 EAttributeRange, |
|
127 /** etag */ |
|
128 EAttributeEtag, |
|
129 /** des */ |
|
130 EAttributeDes, |
|
131 /** curr */ |
|
132 EAttributeCurr, |
|
133 /** conf */ |
|
134 EAttributeConf, |
|
135 |
|
136 /** mandatory */ |
|
137 EAttributeStatusStrengthTagMandatory, |
|
138 /** optional */ |
|
139 EAttributeStatusStrengthTagOptional, |
|
140 /** none */ |
|
141 EAttributeStatusStrengthTagNone, |
|
142 /** failure */ |
|
143 EAttributeStatusStrengthTagFailure, |
|
144 /** unknown */ |
|
145 EAttributeStatusStrengthTagUnknown, |
|
146 |
|
147 // Predefined Status type for Curr, Conf and Des attributes: |
|
148 |
|
149 /** e2e */ |
|
150 EAttributeStatusTypeE2e, |
|
151 /** local */ |
|
152 EAttributeStatusTypeLocal, |
|
153 /** remote */ |
|
154 EAttributeStatusTypeRemote, |
|
155 |
|
156 /** none */ |
|
157 EAttributeStatusDirectionTagNone, |
|
158 /** send */ |
|
159 EAttributeStatusDirectionTagSend, |
|
160 /** recv */ |
|
161 EAttributeStatusDirectionTagRecv, |
|
162 /** sendrecv */ |
|
163 EAttributeStatusDirectionTagSendrecv, |
|
164 /** mid */ |
|
165 EAttributeMid, |
|
166 /** group */ |
|
167 EAttributeGroup, |
|
168 |
|
169 // Predefined semantics for Group attribute: |
|
170 |
|
171 /** LS */ |
|
172 EAttributeGroupSemanticLS, |
|
173 /** FID */ |
|
174 EAttributeGroupSemanticFID, |
|
175 /** SRF */ |
|
176 EAttributeGroupSemanticSRF, |
|
177 /** rtpmap */ |
|
178 EAttributeRtpmap, |
|
179 /** fmtp */ |
|
180 EAttributeFmtp, |
|
181 |
|
182 // Predefined media types: |
|
183 |
|
184 /** audio */ |
|
185 EMediaAudio, |
|
186 /** video */ |
|
187 EMediaVideo, |
|
188 /** application */ |
|
189 EMediaApplication, |
|
190 /** data */ |
|
191 EMediaData, |
|
192 /** control */ |
|
193 EMediaControl, |
|
194 /** image */ |
|
195 EMediaImage, |
|
196 |
|
197 // Predefined media transport protocols: |
|
198 |
|
199 /** RTP/AVP */ |
|
200 EProtocolRtpAvp, |
|
201 /** udp */ |
|
202 EProtocolUdp, |
|
203 /** TCP */ |
|
204 EProtocolTcp, |
|
205 |
|
206 // Network type: |
|
207 |
|
208 /** IN */ |
|
209 ENetType, |
|
210 |
|
211 // Address types: |
|
212 |
|
213 /** IP4 */ |
|
214 EAddressTypeIP4, |
|
215 /** IP6 */ |
|
216 EAddressType |
|
217 }; |
|
218 |
|
219 static const TStringTable Table; |
|
220 }; |
|
221 </codeblock> </conbody></concept> |