diff --git a/call/rtp_transport_controller_send.cc b/call/rtp_transport_controller_send.cc index 6d66c3a3bb..e80713c7d3 100644 --- a/call/rtp_transport_controller_send.cc +++ b/call/rtp_transport_controller_send.cc @@ -259,6 +259,10 @@ void RtpTransportControllerSend::OnNetworkRouteChanged( auto kv = result.first; bool inserted = result.second; if (inserted) { + task_queue_.PostTask([this, network_route] { + RTC_DCHECK_RUN_ON(&task_queue_); + transport_overhead_bytes_per_packet_ = network_route.packet_overhead; + }); // No need to reset BWE if this is the first time the network connects. return; }