Change 2g network pc audio test to more realistic network

Bug: webrtc:10138
Change-Id: I6f4b23fe702d26dbbeed05d0d09b79a9a966e40c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/147728
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28752}
This commit is contained in:
Artem Titov
2019-08-01 17:19:18 +02:00
committed by Commit Bot
parent d75b3c4fab
commit fedd625e0c

View File

@ -144,13 +144,14 @@ TEST(PCLowBandwidthAudioTest, PCGoodNetworkHighBitrate) {
LogTestResults();
}
TEST(PCLowBandwidthAudioTest, PCMobile2GNetwork) {
TEST(PCLowBandwidthAudioTest, PC40kbpsNetwork) {
std::unique_ptr<NetworkEmulationManager> network_emulation_manager =
CreateNetworkEmulationManager();
BuiltInNetworkBehaviorConfig config;
config.link_capacity_kbps = 12;
config.link_capacity_kbps = 40;
config.queue_length_packets = 1500;
config.queue_delay_ms = 400;
config.loss_percent = 1;
auto fixture = CreateTestFixture(
GetMetricTestCaseName(),
CreateTwoNetworkLinks(network_emulation_manager.get(), config),