webrtc/modules/congestion_controller
Tommi 6f542d5e92 Move call to TransportFeedbackDemuxer::AddPacket to transport queue.
Before, this call was being made from the SendPacket path of the
pacer. The transport will post a task to the transport queue regardless
so this change moves the lock inside of the demuxer away from the
pacer and over to the transport queue.

Moving forward, the calls to register/unregister with the feedback
demuxer, will occur on the transport queue as well and we can change
the transport OnTransportFeedback() implementation to forward the
calls to the demuxer on the transport queue as well. That will bring
all calls into the same execution context and we won't need a lock.

Bug: webrtc:13517, webrtc:11993
Change-Id: If714ca6d2b164a1a2b6bcb8c99787372064a31a0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/248164
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35775}
2022-01-24 16:50:00 +00:00
..
goog_cc Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
include Use backticks not vertical bars to denote variables in comments for /modules/congestion_controller 2021-08-02 11:09:20 +00:00
pcc Remove unused variable 2021-10-18 12:22:17 +00:00
rtp Move call to TransportFeedbackDemuxer::AddPacket to transport queue. 2022-01-24 16:50:00 +00:00
BUILD.gn Replace interfaces for sending RTCP with std::functions in ReceiveSideCongestionController 2021-04-21 13:10:44 +00:00
DEPS Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00
receive_side_congestion_controller_unittest.cc Use backticks not vertical bars to denote variables in comments for /modules/congestion_controller 2021-08-02 11:09:20 +00:00
receive_side_congestion_controller.cc Remove REMB throttling funcionality from PacketRouter 2021-05-12 11:24:58 +00:00
remb_throttler_unittest.cc Replace interfaces for sending RTCP with std::functions in ReceiveSideCongestionController 2021-04-21 13:10:44 +00:00
remb_throttler.cc Replace interfaces for sending RTCP with std::functions in ReceiveSideCongestionController 2021-04-21 13:10:44 +00:00
remb_throttler.h Use backticks not vertical bars to denote variables in comments for /modules/congestion_controller 2021-08-02 11:09:20 +00:00