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

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

Issue 2951033003: [EXPERIMENTAL] Generic stereo codec with index header sending single frames
Patch Set: Rebase and add external codec support. Created 3 years, 2 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
« no previous file with comments | « media/base/mediaconstants.h ('k') | media/engine/webrtcvideoengine.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
11 #include "media/base/mediaconstants.h" 11 #include "media/base/mediaconstants.h"
12 12
13 #include <string> 13 #include <string>
14 14
15 namespace cricket { 15 namespace cricket {
16 16
17 const int kVideoCodecClockrate = 90000; 17 const int kVideoCodecClockrate = 90000;
18 const int kDataCodecClockrate = 90000; 18 const int kDataCodecClockrate = 90000;
19 const int kDataMaxBandwidth = 30720; // bps 19 const int kDataMaxBandwidth = 30720; // bps
20 20
21 const float kHighSystemCpuThreshold = 0.85f; 21 const float kHighSystemCpuThreshold = 0.85f;
22 const float kLowSystemCpuThreshold = 0.65f; 22 const float kLowSystemCpuThreshold = 0.65f;
23 const float kProcessCpuThreshold = 0.10f; 23 const float kProcessCpuThreshold = 0.10f;
24 24
25 const char kRtxCodecName[] = "rtx"; 25 const char kRtxCodecName[] = "rtx";
26 const char kRedCodecName[] = "red"; 26 const char kRedCodecName[] = "red";
27 const char kUlpfecCodecName[] = "ulpfec"; 27 const char kUlpfecCodecName[] = "ulpfec";
28 const char kStereoCodecName[] = "stereo";
28 29
29 // TODO(brandtr): Change this to 'flexfec' when we are confident that the 30 // TODO(brandtr): Change this to 'flexfec' when we are confident that the
30 // header format is not changing anymore. 31 // header format is not changing anymore.
31 const char kFlexfecCodecName[] = "flexfec-03"; 32 const char kFlexfecCodecName[] = "flexfec-03";
32 33
33 // draft-ietf-payload-flexible-fec-scheme-02.txt 34 // draft-ietf-payload-flexible-fec-scheme-02.txt
34 const char kFlexfecFmtpRepairWindow[] = "repair-window"; 35 const char kFlexfecFmtpRepairWindow[] = "repair-window";
35 36
36 const char kCodecParamAssociatedPayloadType[] = "apt"; 37 const char kCodecParamAssociatedPayloadType[] = "apt";
37 38
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 105
105 // RFC 6184 RTP Payload Format for H.264 video 106 // RFC 6184 RTP Payload Format for H.264 video
106 const char kH264FmtpProfileLevelId[] = "profile-level-id"; 107 const char kH264FmtpProfileLevelId[] = "profile-level-id";
107 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; 108 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
108 const char kH264FmtpPacketizationMode[] = "packetization-mode"; 109 const char kH264FmtpPacketizationMode[] = "packetization-mode";
109 const char kH264FmtpSpropParameterSets[] = "sprop-parameter-sets"; 110 const char kH264FmtpSpropParameterSets[] = "sprop-parameter-sets";
110 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; 111 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
111 112
112 const int kDefaultVideoMaxFramerate = 60; 113 const int kDefaultVideoMaxFramerate = 60;
113 } // namespace cricket 114 } // namespace cricket
OLDNEW
« no previous file with comments | « media/base/mediaconstants.h ('k') | media/engine/webrtcvideoengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698