OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "media/base/media_switches.h" | 6 #include "media/base/media_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Allow users to specify a custom buffer size for debugging purpose. | 10 // Allow users to specify a custom buffer size for debugging purpose. |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // Allows clients to override the threshold for when the media renderer will | 122 // Allows clients to override the threshold for when the media renderer will |
123 // declare the underflow state for the video stream when audio is present. | 123 // declare the underflow state for the video stream when audio is present. |
124 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. | 124 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. |
125 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; | 125 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; |
126 | 126 |
127 // Disables the new rendering algorithm for webrtc, which is designed to improve | 127 // Disables the new rendering algorithm for webrtc, which is designed to improve |
128 // the rendering smoothness. | 128 // the rendering smoothness. |
129 const char kDisableRTCSmoothnessAlgorithm[] = | 129 const char kDisableRTCSmoothnessAlgorithm[] = |
130 "disable-rtc-smoothness-algorithm"; | 130 "disable-rtc-smoothness-algorithm"; |
131 | 131 |
| 132 } // namespace switches |
| 133 |
| 134 namespace media { |
| 135 |
132 // Use shared block-based buffering for media. | 136 // Use shared block-based buffering for media. |
133 const char kUseNewMediaCache[] = "use-new-media-cache"; | 137 const base::Feature kUseNewMediaCache{"use-new-media-cache", |
| 138 base::FEATURE_DISABLED_BY_DEFAULT}; |
134 | 139 |
135 } // namespace switches | 140 } // namespace media |
OLD | NEW |