
This cl/ changes so that the RTCTransportStats bytes/packets sent/recevied is computed in P2PTransportChannel. Previously they were computed by aggregating over the Connections, but that does not work when Connections are created and destroyed. Bug: webrtc:13769 Change-Id: Ia97dfae70b5aced897d4813ec007ba61bc032f87 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/253100 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36103}