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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc

Issue 2542843003: Remove bitrate cap for AdaptiveVideoSource and increase other caps to 25 Mbps. (Closed)
Patch Set: Created 4 years 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
Index: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc
index ac0e53d585435c02a5d07b8dfadd9bdfa09997b0..f277b8f0e01a8a87decf9e8ce163e4116e057dd2 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc
@@ -765,7 +765,7 @@ AdaptiveVideoSource::AdaptiveVideoSource(int flow_id,
}
void AdaptiveVideoSource::SetBitrateBps(int bitrate_bps) {
- bits_per_second_ = std::min(bitrate_bps, 2500000);
+ bits_per_second_ = bitrate_bps;
frame_size_bytes_ = (bits_per_second_ / 8 * frame_period_ms_ + 500) / 1000;
}

Powered by Google App Engine
This is Rietveld 408576698