diff options
author | Philipp Hancke <phancke@microsoft.com> | 2022-09-01 15:39:50 +0200 |
---|---|---|
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-01 15:18:27 +0000 |
commit | 7baa63ff9c35f2f0d9845316031bb33b859cd216 (patch) | |
tree | e9c1069dc6aa92e381a12f3df87c3102fb9222e6 /api/peer_connection_interface.h | |
parent | 5a77e51c17762fdc938e04541578ab06f50dbdc2 (diff) | |
download | webrtc-7baa63ff9c35f2f0d9845316031bb33b859cd216.tar.gz |
peerconnection: invalidate stats cache during SLD/SRD
which may allow caching some relatively persistent statistics
such as codec statistics that only change during renegotiation.
BUG=webrtc:8693
Change-Id: Ifd68c9d666d9f328d0efecb64e4201d003788ca8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273324
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37981}
Diffstat (limited to 'api/peer_connection_interface.h')
-rw-r--r-- | api/peer_connection_interface.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h index 373b7586de..66a12f4fac 100644 --- a/api/peer_connection_interface.h +++ b/api/peer_connection_interface.h @@ -950,8 +950,6 @@ class RTC_EXPORT PeerConnectionInterface : public rtc::RefCountInterface { rtc::scoped_refptr<RtpReceiverInterface> selector, rtc::scoped_refptr<RTCStatsCollectorCallback> callback) = 0; // Clear cached stats in the RTCStatsCollector. - // Exposed for testing while waiting for automatic cache clear to work. - // https://bugs.webrtc.org/8693 virtual void ClearStatsCache() {} // Create a data channel with the provided config, or default config if none |