commit | 0583b286e44b6f6d4d5c5185ed94b60f37aad598 | [log] [tgz] |
---|---|---|
author | hbos <hbos@webrtc.org> | Wed Nov 30 09:50:14 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 30 09:50:36 2016 |
tree | b35f963d9f119695f7c242bc65cce7fd2c319bcf | |
parent | 0c43f779f8ed38e02fd8bf7bef6f8bf15e8f1aad [diff] |
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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.