RTCPeerConnection.getStats: RTCTransportStats |
||||||||
Issue descriptionAdd RTCTransportStats and all of its members. https://w3c.github.io/webrtc-stats/#transportstats-dict* dictionary RTCTransportStats : RTCStats { unsigned long long bytesSent; unsigned long long bytesReceived; DOMString rtcpTransportStatsId; boolean activeConnection; DOMString selectedCandidatePairId; DOMString localCertificateId; DOMString remoteCertificateId; };
,
Oct 7 2016
,
Oct 11 2016
,
Oct 11 2016
,
Oct 20 2016
,
Oct 24 2016
The following revision refers to this bug: https://chromium.googlesource.com/external/webrtc.git/+/2fa7c67675c1ad0b4a2a04eec152c4657798485a commit 2fa7c67675c1ad0b4a2a04eec152c4657798485a Author: hbos <hbos@webrtc.org> Date: Mon Oct 24 11:00:05 2016 RTCTransportStats[1] added, supporting all members. Address TODO in rtcstatscollector_unittest.cc before closing 653873. [1] https://w3c.github.io/webrtc-stats/#transportstats-dict* BUG= chromium:653873 , chromium:633550 , chromium:627816 Review-Url: https://codereview.webrtc.org/2408363002 Cr-Commit-Position: refs/heads/master@{#14740} [modify] https://crrev.com/2fa7c67675c1ad0b4a2a04eec152c4657798485a/webrtc/api/rtcstatscollector.cc [modify] https://crrev.com/2fa7c67675c1ad0b4a2a04eec152c4657798485a/webrtc/api/rtcstatscollector.h [modify] https://crrev.com/2fa7c67675c1ad0b4a2a04eec152c4657798485a/webrtc/api/rtcstatscollector_unittest.cc [modify] https://crrev.com/2fa7c67675c1ad0b4a2a04eec152c4657798485a/webrtc/api/stats/rtcstats_objects.h [modify] https://crrev.com/2fa7c67675c1ad0b4a2a04eec152c4657798485a/webrtc/stats/rtcstats_objects.cc
,
Nov 29 2016
Is this finished?
,
Nov 29 2016
While RTCTransportStats is done, there's still a cleanup-related TODO in the unittest. (Misleading to have this open still, I admit.) I will close this bug as soon as https://codereview.webrtc.org/2527113002/ lands.
,
Nov 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/external/webrtc.git/+/0583b286e44b6f6d4d5c5185ed94b60f37aad598 commit 0583b286e44b6f6d4d5c5185ed94b60f37aad598 Author: hbos <hbos@webrtc.org> Date: Wed Nov 30 09:50:14 2016 Collecting RTCIceCandidatePairStats.transport_id and improved unittests. RTCIceCandidatePairStats.transport_id is set to the related RTCTransportStats' id. Unittest for RTCIceCandidatePairStats is updated to do EXPECT_EQ between actual and an expected hardcoded dictionary. The previous way of testing, ExpectReportContainsCandidatePair, is removed. (ExpectReportContainsCandidate still exist, we might want to replace this by EXPECT_EQ testing in a follow up.) Unittest for RTCTransportStats is similarly updated and ExpectReportContainsTransportStats is removed. A bug was uncovered where the "rtcp_connection_info.best_connection = true" case was not tested (a copy of rtcp_connection_info was used in the test, modifying that had no affect on the test) - fixed. rtcstats_integrationtest.cc updated to take transport_id into account. In order to reuse an updated version of expected_rt[c]p_transport in the unittest, timestamps are ignored by RTCStats::operator==. BUG= chromium:627816 , chromium:653873 , chromium:653873 , webrtc:6755 Review-Url: https://codereview.webrtc.org/2527113002 Cr-Commit-Position: refs/heads/master@{#15316} [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/api/rtcstats_integrationtest.cc [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/api/rtcstatscollector.cc [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/api/rtcstatscollector_unittest.cc [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/api/stats/rtcstats.h [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/api/stats/rtcstats_objects.h [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/stats/rtcstats.cc [modify] https://crrev.com/0583b286e44b6f6d4d5c5185ed94b60f37aad598/webrtc/stats/rtcstats_unittest.cc
,
Jan 12 2017
Is there any more work expected to be done here?
,
Jan 12 2017
This is done.
,
Jan 16 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d28adf3696a330580b5fb705531322ca4f9f3297 commit d28adf3696a330580b5fb705531322ca4f9f3297 Author: hbos <hbos@chromium.org> Date: Mon Jan 16 12:56:26 2017 RTCPeerConnection.getStats whitelist updated due to recent spec changes. RTCRTPStreamStats.mediaTrackId renamed trackId: https://github.com/w3c/webrtc-stats/issues/113#issuecomment-271548836 RTCMediaStreamTrackStats.kind added: https://github.com/w3c/webrtc-stats/pull/127 RTCPeerConnectionStats.dataChannels[Opened/Closed/Requested/Accepted] added: https://github.com/w3c/webrtc-stats/pull/125/files RTCTransportStats.activeConnection replaced by dtlsState: https://github.com/w3c/webrtc-stats/pull/122/files BUG= chromium:657854 , chromium:659137 , chromium:679741 , chromium:653873 , chromium:627816 Review-Url: https://codereview.chromium.org/2621733004 Cr-Commit-Position: refs/heads/master@{#443879} [modify] https://crrev.com/d28adf3696a330580b5fb705531322ca4f9f3297/chrome/test/data/webrtc/peerconnection_getstats.js
,
Jan 16 2017
The following revision refers to this bug: https://chromium.googlesource.com/external/webrtc.git/+/7064d5929a978aad8c3ce6cab61cef2c8c9203be commit 7064d5929a978aad8c3ce6cab61cef2c8c9203be Author: hbos <hbos@webrtc.org> Date: Mon Jan 16 15:38:02 2017 RTCTransportStats.dtlsState replaces .activeConnection In accordance with recent spec change: https://github.com/w3c/webrtc-stats/pull/122 BUG= chromium:653873 , chromium:627816 Review-Url: https://codereview.webrtc.org/2625993002 Cr-Commit-Position: refs/heads/master@{#16098} [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/api/rtcstats_integrationtest.cc [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/api/rtcstatscollector.cc [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/api/rtcstatscollector_unittest.cc [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/api/stats/rtcstats_objects.h [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/p2p/base/jseptransport.cc [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/p2p/base/jseptransport.h [modify] https://crrev.com/7064d5929a978aad8c3ce6cab61cef2c8c9203be/webrtc/stats/rtcstats_objects.cc
,
Feb 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6398f107d8df0d71f9c989ea1b73630136b580f3 commit 6398f107d8df0d71f9c989ea1b73630136b580f3 Author: hbos <hbos@chromium.org> Date: Thu Feb 02 17:36:17 2017 RTCPeerConnection.getStats whitelist updated. Add type 'any' to be used if a member is about to change type so that both old and new type is valid. Change ssrc to 'any' and add a TODO to change it to 'number'. Remove old members from whitelist now that the changes have been made and rolled in. BUG=webrtc:7065, webrtc:7066, webrtc:7064, chromium:653873 Review-Url: https://codereview.chromium.org/2670053003 Cr-Commit-Position: refs/heads/master@{#447789} [modify] https://crrev.com/6398f107d8df0d71f9c989ea1b73630136b580f3/chrome/test/data/webrtc/peerconnection_getstats.js |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by hbos@chromium.org
, Oct 7 2016