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} |
||
|---|---|---|
| .. | ||
| goog_cc | ||
| include | ||
| pcc | ||
| rtp | ||
| BUILD.gn | ||
| DEPS | ||
| OWNERS | ||
| receive_side_congestion_controller_unittest.cc | ||
| receive_side_congestion_controller.cc | ||
| remb_throttler_unittest.cc | ||
| remb_throttler.cc | ||
| remb_throttler.h | ||