commit | 85a126ec5d76457381333dd5abdde36da0f06c1c | [log] [tgz] |
---|---|---|
author | Alessio Bazzica <alessiob@webrtc.org> | Thu Aug 11 13:48:54 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 12 12:42:43 2022 |
tree | 28f3f15d2dfebb0706212eec7f5e37ee9f4db25d | |
parent | b69b81944c4abdb65294624435d48fbd2d83a64a [diff] |
`ApmTest.VerifyDebugDump(Int|Float)` more insightful with failures Instead of showing individual byte differences, this CL detects differences in the expected and actual byte streams of the evaluated AEC dump and, if detected, parses the `audioproc::Event` proto lite messages and calls EXPECT_EQ() for a subset of individual (sub-)fields. Note that messages are parsed only if the byte streams of each message pair do not match, so with no failures the test runs at no extra cost. Plus, the the added funcionality can only be enabled for local debugging by flipping the `kDumpWhenExpectMessageEqFails` flag - a code change cannot land if the flag is set to true. Note that `MessageDifferencer` (see [1]) could not be used because it is not implemented for `MessageLite` protos. [1] https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.util.message_differencer Bug: b/241923537 Change-Id: I8e0eda3b1ecfe06945b6dad5ee8871f8200d76d7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270922 Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37765}
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.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.