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

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

Issue 1880963002: Generate FMTP parameters for the H.264 codec. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add another TODO Created 4 years, 8 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "urn:3gpp:video-orientation:6"; 109 "urn:3gpp:video-orientation:6";
110 110
111 const int kRtpTransportSequenceNumberHeaderExtensionDefaultId = 5; 111 const int kRtpTransportSequenceNumberHeaderExtensionDefaultId = 5;
112 const char kRtpTransportSequenceNumberHeaderExtension[] = 112 const char kRtpTransportSequenceNumberHeaderExtension[] =
113 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"; 113 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01";
114 114
115 const char kVp8CodecName[] = "VP8"; 115 const char kVp8CodecName[] = "VP8";
116 const char kVp9CodecName[] = "VP9"; 116 const char kVp9CodecName[] = "VP9";
117 const char kH264CodecName[] = "H264"; 117 const char kH264CodecName[] = "H264";
118 118
119 // RFC 6184 RTP Payload Format for H.264 video
120 const char kH264FmtpProfileLevelId[] = "profile-level-id";
juberti2 2016/04/13 20:20:58 The precedent here is kCodecParamFoo, or perhaps i
hta-webrtc 2016/04/13 20:43:58 The precedent is wrong. The namespace for FMTP par
121 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
122 const char kH264FmtpPacketizationMode[] = "packetization-mode";
123 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
124
119 const int kDefaultVp8PlType = 100; 125 const int kDefaultVp8PlType = 100;
120 const int kDefaultVp9PlType = 101; 126 const int kDefaultVp9PlType = 101;
121 const int kDefaultH264PlType = 107; 127 const int kDefaultH264PlType = 107;
122 const int kDefaultRedPlType = 116; 128 const int kDefaultRedPlType = 116;
123 const int kDefaultUlpfecType = 117; 129 const int kDefaultUlpfecType = 117;
124 const int kDefaultRtxVp8PlType = 96; 130 const int kDefaultRtxVp8PlType = 96;
125 const int kDefaultRtxVp9PlType = 97; 131 const int kDefaultRtxVp9PlType = 97;
126 const int kDefaultRtxRedPlType = 98; 132 const int kDefaultRtxRedPlType = 98;
127 const int kDefaultRtxH264PlType = 99; 133 const int kDefaultRtxH264PlType = 99;
128 134
129 const int kDefaultVideoMaxWidth = 640; 135 const int kDefaultVideoMaxWidth = 640;
130 const int kDefaultVideoMaxHeight = 400; 136 const int kDefaultVideoMaxHeight = 400;
131 const int kDefaultVideoMaxFramerate = 30; 137 const int kDefaultVideoMaxFramerate = 30;
132 } // namespace cricket 138 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698