OLD | NEW |
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 "webrtc/media/base/constants.h" | 11 #include "webrtc/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; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 const int kDefaultUlpfecType = 117; | 123 const int kDefaultUlpfecType = 117; |
124 const int kDefaultRtxVp8PlType = 96; | 124 const int kDefaultRtxVp8PlType = 96; |
125 const int kDefaultRtxVp9PlType = 97; | 125 const int kDefaultRtxVp9PlType = 97; |
126 const int kDefaultRtxRedPlType = 98; | 126 const int kDefaultRtxRedPlType = 98; |
127 const int kDefaultRtxH264PlType = 99; | 127 const int kDefaultRtxH264PlType = 99; |
128 | 128 |
129 const int kDefaultVideoMaxWidth = 640; | 129 const int kDefaultVideoMaxWidth = 640; |
130 const int kDefaultVideoMaxHeight = 400; | 130 const int kDefaultVideoMaxHeight = 400; |
131 const int kDefaultVideoMaxFramerate = 30; | 131 const int kDefaultVideoMaxFramerate = 30; |
132 } // namespace cricket | 132 } // namespace cricket |
OLD | NEW |