Fix flag parsing for lazy pacer starting
Bug: webrtc:10809
Change-Id: I6340d356e59b3fd06d4f252ba3adb09723ebc2b6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/184540
Reviewed-by: Tommi <tommi@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32141}
diff --git a/call/rtp_transport_controller_send.cc b/call/rtp_transport_controller_send.cc
index d508a10..63bb937 100644
--- a/call/rtp_transport_controller_send.cc
+++ b/call/rtp_transport_controller_send.cc
@@ -131,7 +131,7 @@
pacer()->SetPacingRates(
DataRate::BitsPerSec(bitrate_config.start_bitrate_bps), DataRate::Zero());
- if (!absl::StartsWith(trials->Lookup("WebRTC-LazyPacerStart"), "Disabled")) {
+ if (absl::StartsWith(trials->Lookup("WebRTC-LazyPacerStart"), "Disabled")) {
EnsureStarted();
}
}