Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: webrtc/media/base/mediaconstants.h

Issue 1984983002: Remove use of RtpHeaderExtension and clean up (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed nit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 extern const char kGoogleRtpDataCodecName[]; 110 extern const char kGoogleRtpDataCodecName[];
111 111
112 // TODO(pthatcher): Find an id that won't conflict with anything. On 112 // TODO(pthatcher): Find an id that won't conflict with anything. On
113 // the other hand, it really shouldn't matter since the id won't be 113 // the other hand, it really shouldn't matter since the id won't be
114 // used on the wire. 114 // used on the wire.
115 extern const int kGoogleSctpDataCodecId; 115 extern const int kGoogleSctpDataCodecId;
116 extern const char kGoogleSctpDataCodecName[]; 116 extern const char kGoogleSctpDataCodecName[];
117 117
118 extern const char kComfortNoiseCodecName[]; 118 extern const char kComfortNoiseCodecName[];
119 119
120 // Header extension for audio levels, as defined in
121 // http://tools.ietf.org/html/draft-ietf-avtext-client-to-mixer-audio-level-03
122 extern const int kRtpAudioLevelHeaderExtensionDefaultId;
123 extern const char kRtpAudioLevelHeaderExtension[];
124
125 // Header extension for RTP timestamp offset, see RFC 5450 for details:
126 // http://tools.ietf.org/html/rfc5450
127 extern const int kRtpTimestampOffsetHeaderExtensionDefaultId;
128 extern const char kRtpTimestampOffsetHeaderExtension[];
129
130 // Header extension for absolute send time, see url for details:
131 // http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
132 extern const int kRtpAbsoluteSenderTimeHeaderExtensionDefaultId;
133 extern const char kRtpAbsoluteSenderTimeHeaderExtension[];
134
135 // Header extension for coordination of video orientation, see url for details:
136 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/
137 // ts_126114v120700p.pdf
138 extern const int kRtpVideoRotationHeaderExtensionDefaultId;
139 extern const char kRtpVideoRotationHeaderExtension[];
140 // We don't support 6 bit CVO. Added here for testing purpose.
141 extern const char kRtpVideoRotation6BitsHeaderExtensionForTesting[];
142
143 // Header extension for transport sequence number, see url for details:
144 // http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions
145 extern const int kRtpTransportSequenceNumberHeaderExtensionDefaultId;
146 extern const char kRtpTransportSequenceNumberHeaderExtension[];
147
148 extern const char kVp8CodecName[]; 120 extern const char kVp8CodecName[];
149 extern const char kVp9CodecName[]; 121 extern const char kVp9CodecName[];
150 extern const char kH264CodecName[]; 122 extern const char kH264CodecName[];
151 123
152 // RFC 6184 RTP Payload Format for H.264 video 124 // RFC 6184 RTP Payload Format for H.264 video
153 extern const char kH264FmtpProfileLevelId[]; 125 extern const char kH264FmtpProfileLevelId[];
154 extern const char kH264FmtpLevelAsymmetryAllowed[]; 126 extern const char kH264FmtpLevelAsymmetryAllowed[];
155 extern const char kH264FmtpPacketizationMode[]; 127 extern const char kH264FmtpPacketizationMode[];
156 extern const char kH264ProfileLevelConstrainedBaseline[]; 128 extern const char kH264ProfileLevelConstrainedBaseline[];
157 129
158 extern const int kDefaultVp8PlType; 130 extern const int kDefaultVp8PlType;
159 extern const int kDefaultVp9PlType; 131 extern const int kDefaultVp9PlType;
160 extern const int kDefaultH264PlType; 132 extern const int kDefaultH264PlType;
161 extern const int kDefaultRedPlType; 133 extern const int kDefaultRedPlType;
162 extern const int kDefaultUlpfecType; 134 extern const int kDefaultUlpfecType;
163 extern const int kDefaultRtxVp8PlType; 135 extern const int kDefaultRtxVp8PlType;
164 extern const int kDefaultRtxVp9PlType; 136 extern const int kDefaultRtxVp9PlType;
165 extern const int kDefaultRtxRedPlType; 137 extern const int kDefaultRtxRedPlType;
166 extern const int kDefaultRtxH264PlType; 138 extern const int kDefaultRtxH264PlType;
167 139
168 extern const int kDefaultVideoMaxWidth; 140 extern const int kDefaultVideoMaxWidth;
169 extern const int kDefaultVideoMaxHeight; 141 extern const int kDefaultVideoMaxHeight;
170 extern const int kDefaultVideoMaxFramerate; 142 extern const int kDefaultVideoMaxFramerate;
171 } // namespace cricket 143 } // namespace cricket
172 144
173 #endif // WEBRTC_MEDIA_BASE_MEDIACONSTANTS_H_ 145 #endif // WEBRTC_MEDIA_BASE_MEDIACONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698