Chromium Code Reviews| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; | 110 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; |
| 111 | 111 |
| 112 // Disables the new rendering algorithm for webrtc, which is designed to improve | 112 // Disables the new rendering algorithm for webrtc, which is designed to improve |
| 113 // the rendering smoothness. | 113 // the rendering smoothness. |
| 114 const char kDisableRTCSmoothnessAlgorithm[] = | 114 const char kDisableRTCSmoothnessAlgorithm[] = |
| 115 "disable-rtc-smoothness-algorithm"; | 115 "disable-rtc-smoothness-algorithm"; |
| 116 | 116 |
| 117 } // namespace switches | 117 } // namespace switches |
| 118 | 118 |
| 119 namespace media { | 119 namespace media { |
| 120 // Let flash join and be controlled by media session, only valid when | |
|
mlamouri (slow - plz ping)
2016/06/23 13:23:20
style: leave an empty line above.
Zhiqiang Zhang (Slow)
2016/06/24 17:43:21
Done.
| |
| 121 // |kEnableDefaultMediaSession| is on. | |
| 122 const base::Feature kFlashJoinsMediaSession{"flash-join-media-session", | |
| 123 base::FEATURE_ENABLED_BY_DEFAULT}; | |
| 120 | 124 |
| 121 // Use shared block-based buffering for media. | 125 // Use shared block-based buffering for media. |
| 122 const base::Feature kUseNewMediaCache{"use-new-media-cache", | 126 const base::Feature kUseNewMediaCache{"use-new-media-cache", |
| 123 base::FEATURE_ENABLED_BY_DEFAULT}; | 127 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 124 | 128 |
| 125 } // namespace media | 129 } // namespace media |
| OLD | NEW |