commit | d72cc2ffde0749ed18a5ebcc49dcee49b8465bcb | [log] [tgz] |
---|---|---|
author | Philipp Hancke <phancke@meta.com> | Tue Jul 01 18:24:07 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 04 13:54:26 2025 |
tree | 49b228b16356d6ac1fedcbba3e44f06d85cad2a6 | |
parent | 50aa2d768ecfb5d91e3676a09d9bdb9ef72bf317 [diff] |
Replace auto with unique_ptr<SessionDescriptionInterface> Done using git grep "auto offer =" | grep -v make_unique | awk -F ':' '{print $1}' | uniq | xargs sed -i 's/auto offer =/std::unique_ptr<SessionDescriptionInterface> offer =/g' (and for answer), reverting the few instances where this did not compile. Also change ASSERT_TRUE for those pointers to use NotNull() expectation using git grep "ASSERT_TRUE(answer)" | awk -F ':' '{print $1}' | uniq | xargs sed -i 's/ASSERT_TRUE(answer)/ASSERT_THAT(answer, NotNull())/' (also for offers and two instances of ASSERT_NE(thing, nullptr)) Finally move some code blocks around a bit. F'up from https://webrtc-review.googlesource.com/c/src/+/398220 Bug: None Change-Id: Ib24744da4fb80de3fb4f9760df38db98ae4a1f29 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/398840 Commit-Queue: Philipp Hancke <phancke@meta.com> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45092}
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.