Fix suspend below min bitrate in new API by making it possible to set min bitrate at the receive-side.
In addition to this the ramp-up tests are refactored to use a receive call instead of only a remote bitrate estimator, and to make use of BaseTest. BUG=webrtc:4836 Review URL: https://codereview.webrtc.org/1368943002 Cr-Commit-Position: refs/heads/master@{#10087}
This commit is contained in:
@ -58,16 +58,13 @@ class TestTransport : public Transport,
|
||||
|
||||
class RtcpReceiverTest : public ::testing::Test {
|
||||
protected:
|
||||
static const uint32_t kRemoteBitrateEstimatorMinBitrateBps = 30000;
|
||||
|
||||
RtcpReceiverTest()
|
||||
: over_use_detector_options_(),
|
||||
system_clock_(1335900000),
|
||||
remote_bitrate_observer_(),
|
||||
remote_bitrate_estimator_(new RemoteBitrateEstimatorSingleStream(
|
||||
&remote_bitrate_observer_,
|
||||
&system_clock_,
|
||||
kRemoteBitrateEstimatorMinBitrateBps)) {
|
||||
remote_bitrate_estimator_(
|
||||
new RemoteBitrateEstimatorSingleStream(&remote_bitrate_observer_,
|
||||
&system_clock_)) {
|
||||
test_transport_ = new TestTransport();
|
||||
|
||||
RtpRtcp::Configuration configuration;
|
||||
|
||||
Reference in New Issue
Block a user