OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/test/webrtc_content_browsertest_base.h" | 5 #include "content/test/webrtc_content_browsertest_base.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 "optional: []}});", | 68 "optional: []}});", |
69 function_name, | 69 function_name, |
70 min_width, | 70 min_width, |
71 max_width, | 71 max_width, |
72 min_height, | 72 min_height, |
73 max_height, | 73 max_height, |
74 min_frame_rate, | 74 min_frame_rate, |
75 max_frame_rate); | 75 max_frame_rate); |
76 } | 76 } |
77 | 77 |
78 void WebRtcContentBrowserTest::DisableOpusIfOnAndroid() { | |
79 #if defined(OS_ANDROID) | |
80 // Always force iSAC 16K on Android for now (Opus is broken). | |
tommi (sloooow) - chröme
2014/08/29 08:11:52
fix indent
phoglund_chromium
2014/08/29 08:22:35
Done.
| |
81 EXPECT_EQ("isac-forced", | |
82 ExecuteJavascriptAndReturnResult("forceIsac16KInSdp();")); | |
83 #endif | |
84 } | |
85 | |
78 } // namespace content | 86 } // namespace content |
OLD | NEW |