tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 4b24d9a0033bf4fe0226b386dbae93e5c50ea235
parent 537712670f2d9ee6060d7280bbab471ba2d3b68f
Author: Dan Baker <dbaker@mozilla.com>
Date:   Wed, 22 Oct 2025 14:55:09 -0600

Bug 1995393 - Vendor libwebrtc from 3c21189ae9

Upstream commit: https://webrtc.googlesource.com/src/+/3c21189ae923932472223a04b6e1d4621814a60e
    Dont use arrival time as current time when deciding to send feedback

    Due to that the arrival time may be slightly ahead of current time if socket
    compansate for different time base.

    Bug: webrtc:42225697
    Change-Id: I9e08047fae53e70e27c9c98b478bfc5d02b30afe
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/403580
    Commit-Queue: Per Kjellander <perkj@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#45309}

Diffstat:
Mthird_party/libwebrtc/README.mozilla.last-vendor | 4++--
Mthird_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator.cc | 7++++---
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor @@ -1,4 +1,4 @@ # ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc -libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-22T20:52:42.066803+00:00. +libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-22T20:54:54.467116+00:00. # base of lastest vendoring -bddd6da943 +3c21189ae9 diff --git a/third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator.cc b/third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator.cc @@ -54,12 +54,13 @@ void CongestionControlFeedbackGenerator::OnReceivedPacket( RTC_DCHECK_RUN_ON(&sequence_checker_); marker_bit_seen_ |= packet.Marker(); + Timestamp now = env_.clock().CurrentTime(); if (!first_arrival_time_since_feedback_) { - first_arrival_time_since_feedback_ = packet.arrival_time(); + first_arrival_time_since_feedback_ = now; } feedback_trackers_[packet.Ssrc()].ReceivedPacket(packet); - if (NextFeedbackTime() < packet.arrival_time()) { - SendFeedback(env_.clock().CurrentTime()); + if (NextFeedbackTime() < now) { + SendFeedback(now); } }