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

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

Issue 2513633002: Revert of Stop using hardcoded payload types for video codecs (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « webrtc/media/base/mediaconstants.h ('k') | webrtc/media/engine/internalencoderfactory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const char kVp8CodecName[] = "VP8"; 101 const char kVp8CodecName[] = "VP8";
102 const char kVp9CodecName[] = "VP9"; 102 const char kVp9CodecName[] = "VP9";
103 const char kH264CodecName[] = "H264"; 103 const char kH264CodecName[] = "H264";
104 104
105 // RFC 6184 RTP Payload Format for H.264 video 105 // RFC 6184 RTP Payload Format for H.264 video
106 const char kH264FmtpProfileLevelId[] = "profile-level-id"; 106 const char kH264FmtpProfileLevelId[] = "profile-level-id";
107 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; 107 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
108 const char kH264FmtpPacketizationMode[] = "packetization-mode"; 108 const char kH264FmtpPacketizationMode[] = "packetization-mode";
109 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; 109 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
110 110
111 const int kDefaultVp8PlType = 100;
112 const int kDefaultVp9PlType = 101;
113 const int kDefaultH264PlType = 107;
114 const int kDefaultRedPlType = 116;
115 const int kDefaultUlpfecType = 117;
116 const int kDefaultFlexfecPlType = 118;
117 const int kDefaultRtxVp8PlType = 96;
118 const int kDefaultRtxVp9PlType = 97;
119 const int kDefaultRtxRedPlType = 98;
120 const int kDefaultRtxH264ConstrainedBaselinePlType = 99;
121 const int kDefaultRtxH264ConstrainedHighPlType = 102;
122
111 const int kDefaultVideoMaxFramerate = 60; 123 const int kDefaultVideoMaxFramerate = 60;
112 } // namespace cricket 124 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/base/mediaconstants.h ('k') | webrtc/media/engine/internalencoderfactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698