
This patch adds accounting and reporting needed for newly added RTCTransportStats.selectedCandidatePairChanges, https://w3c.github.io/webrtc-stats/#dom-rtctransportstats-selectedcandidatepairchanges a) P2PTransportChannel counts everytime selected_connection_ is modified and reports this counter in the GetStats()-call. b) RTCStatsCollector puts the counter into the standardized stats object. Bug: webrtc:10900 Change-Id: Ibaeca18706b8edcbcb44b0c6f2754854bcb545ba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/149830 Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28987}