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

Unified Diff: remoting/protocol/webrtc_transport.cc

Issue 2711053005: Deflake ConnectionTest.Audio test (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/connection_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_transport.cc
diff --git a/remoting/protocol/webrtc_transport.cc b/remoting/protocol/webrtc_transport.cc
index dcbbb8c8dddc17a2e692351712a24fc66bb97e75..b74e2b67863474c6ec02955e8a16f1e92aed67a1 100644
--- a/remoting/protocol/webrtc_transport.cc
+++ b/remoting/protocol/webrtc_transport.cc
@@ -80,10 +80,10 @@ void UpdateCodecParameters(SdpMessage* sdp_message, bool incoming) {
}
}
- // Update SDP format to use stereo for opus codec.
+ // Update SDP format to use 160kbps stereo for opus codec.
if (sdp_message->has_audio() &&
!sdp_message->AddCodecParameter("opus",
- "stereo=1; x-google-min-bitrate=160")) {
+ "stereo=1; maxaveragebitrate=163840")) {
if (incoming) {
LOG(WARNING) << "Opus not found in an incoming SDP.";
} else {
« no previous file with comments | « remoting/protocol/connection_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698