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

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

Issue 2088233004: Add RTX codecs for codecs only supported by external encoder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: For now, only add RTX codecs for recognized codecs, and use same payload types as before. Created 4 years, 5 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; 100 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
101 const char kH264FmtpPacketizationMode[] = "packetization-mode"; 101 const char kH264FmtpPacketizationMode[] = "packetization-mode";
102 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; 102 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
103 103
104 const int kDynamicPayloadTypeMin = 96;
104 const int kDefaultVp8PlType = 100; 105 const int kDefaultVp8PlType = 100;
105 const int kDefaultVp9PlType = 101; 106 const int kDefaultVp9PlType = 101;
106 const int kDefaultH264PlType = 107; 107 const int kDefaultH264PlType = 107;
107 const int kDefaultRedPlType = 116; 108 const int kDefaultRedPlType = 116;
108 const int kDefaultUlpfecType = 117; 109 const int kDefaultUlpfecType = 117;
109 const int kDefaultRtxVp8PlType = 96; 110 const int kDefaultRtxVp8PlType = 96;
110 const int kDefaultRtxVp9PlType = 97; 111 const int kDefaultRtxVp9PlType = 97;
111 const int kDefaultRtxRedPlType = 98; 112 const int kDefaultRtxRedPlType = 98;
112 const int kDefaultRtxH264PlType = 99; 113 const int kDefaultRtxH264PlType = 99;
113 114
114 const int kDefaultVideoMaxWidth = 640; 115 const int kDefaultVideoMaxWidth = 640;
115 const int kDefaultVideoMaxHeight = 400; 116 const int kDefaultVideoMaxHeight = 400;
116 const int kDefaultVideoMaxFramerate = 30; 117 const int kDefaultVideoMaxFramerate = 30;
117 } // namespace cricket 118 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698