diff options
author | Niels Möller <nisse@webrtc.org> | 2018-11-13 15:10:33 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-11-13 16:03:00 +0000 |
commit | de8e6e6db3b061d9a035eddb77a16127c2fbeacb (patch) | |
tree | 4cea6eb8fd258210453fa0072ffe9fd087a0e4ee /call/rampup_tests.h | |
parent | c7e3af1ad928814c8c64e715a86b3db0e85a055c (diff) | |
download | webrtc-de8e6e6db3b061d9a035eddb77a16127c2fbeacb.tar.gz |
Refactor bitrate configuration in CallTest
All implementations of ModifyReceiverCallConfig and
ModifySenderCallConfig configure the bitrate_config member only. So
replace these methods by ModifyReceiverBitrateConfig and
ModifySenderBitrateConfig.
This is a preparation for injecting RtpTransportControllerSend via
CallConfig. Then bitrates should be passed when constructing
RtpTransportControllerSend, and they can be deleted from CallConfig.
Bug: webrtc:7135
Change-Id: I6714158bd463dd485018713d0e26815919e5afcc
Reviewed-on: https://webrtc-review.googlesource.com/c/110780
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25624}
Diffstat (limited to 'call/rampup_tests.h')
-rw-r--r-- | call/rampup_tests.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/call/rampup_tests.h b/call/rampup_tests.h index 6ff712703e..b7d4af5f5a 100644 --- a/call/rampup_tests.h +++ b/call/rampup_tests.h @@ -83,7 +83,7 @@ class RampUpTester : public test::EndToEndTest { typedef std::map<uint32_t, uint32_t> SsrcMap; class VideoStreamFactory; - void ModifySenderCallConfig(Call::Config* config) override; + void ModifySenderBitrateConfig(BitrateConstraints* bitrate_config) override; void OnVideoStreamsCreated( VideoSendStream* send_stream, const std::vector<VideoReceiveStream*>& receive_streams) override; @@ -142,7 +142,7 @@ class RampUpDownUpTester : public RampUpTester { kTransitionToNextState, }; - void ModifyReceiverCallConfig(Call::Config* config) override; + void ModifyReceiverBitrateConfig(BitrateConstraints* bitrate_config) override; std::string GetModifierString() const; int GetExpectedHighBitrate() const; |