Remove redundant BitrateProber::OnIncomingPacket() call

The extra call doesn't appear to have any side effects, but should be
removed nonetheless.

Bug: None
Change-Id: I45a98261828211b7bc7954acb779913249dc2b01
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158620
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29637}
This commit is contained in:
Erik Språng
2019-10-28 23:08:23 +01:00
committed by Commit Bot
parent 01a21f71f4
commit 9c71e4936b

View File

@ -233,8 +233,6 @@ TimeDelta PacingController::OldestPacketWaitTime() const {
void PacingController::EnqueuePacketInternal(
std::unique_ptr<RtpPacketToSend> packet,
int priority) {
prober_.OnIncomingPacket(packet->payload_size());
Timestamp now = CurrentTime();
prober_.OnIncomingPacket(packet->payload_size());