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

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

Issue 2440123002: Revert of H264 codec: Check profile-level-id when matching (Closed)
Patch Set: Rebase 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') | no next file » | 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const char kGoogleSctpDataCodecName[] = "google-sctp-data"; 90 const char kGoogleSctpDataCodecName[] = "google-sctp-data";
91 91
92 const char kComfortNoiseCodecName[] = "CN"; 92 const char kComfortNoiseCodecName[] = "CN";
93 93
94 const char kVp8CodecName[] = "VP8"; 94 const char kVp8CodecName[] = "VP8";
95 const char kVp9CodecName[] = "VP9"; 95 const char kVp9CodecName[] = "VP9";
96 const char kH264CodecName[] = "H264"; 96 const char kH264CodecName[] = "H264";
97 97
98 // RFC 6184 RTP Payload Format for H.264 video 98 // RFC 6184 RTP Payload Format for H.264 video
99 const char kH264FmtpProfileLevelId[] = "profile-level-id"; 99 const char kH264FmtpProfileLevelId[] = "profile-level-id";
100 // If no profile-level-id is present as a parameter, the Baseline Profile
101 // without additional constraints at Level 1 is implied.
102 const char kH264FmtpDefaultProfileLevelId[] = "42000a";
103 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; 100 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
104 const char kH264FmtpPacketizationMode[] = "packetization-mode"; 101 const char kH264FmtpPacketizationMode[] = "packetization-mode";
105 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; 102 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
106 103
107 const int kDefaultVp8PlType = 100; 104 const int kDefaultVp8PlType = 100;
108 const int kDefaultVp9PlType = 101; 105 const int kDefaultVp9PlType = 101;
109 const int kDefaultH264PlType = 107; 106 const int kDefaultH264PlType = 107;
110 const int kDefaultRedPlType = 116; 107 const int kDefaultRedPlType = 116;
111 const int kDefaultUlpfecType = 117; 108 const int kDefaultUlpfecType = 117;
112 const int kDefaultRtxVp8PlType = 96; 109 const int kDefaultRtxVp8PlType = 96;
113 const int kDefaultRtxVp9PlType = 97; 110 const int kDefaultRtxVp9PlType = 97;
114 const int kDefaultRtxRedPlType = 98; 111 const int kDefaultRtxRedPlType = 98;
115 const int kDefaultRtxH264PlType = 99; 112 const int kDefaultRtxH264PlType = 99;
116 113
117 const int kDefaultVideoMaxFramerate = 60; 114 const int kDefaultVideoMaxFramerate = 60;
118 } // namespace cricket 115 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/base/mediaconstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698