commit | 7bafbd6c8c9eb2c100604fc18cac4acc0de339af | [log] [tgz] |
---|---|---|
author | Alex Cooper <alcooper@chromium.org> | Thu Dec 02 21:30:59 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 02 23:54:57 2021 |
tree | 45fc47862ed4655846211a4110b044641f69d053 | |
parent | 43fc10fc40eea0bf8903e7f128b864246b04695b [diff] |
DesktopCaptureOptions should return refptrs where possible There are cases for each of these getters where other code later takes a reference to the passed object, meaning that these getters should be returning a refptr. To prevent additional overhead from places that simply access the getter to call additional methods without needing to worry about taking a ref, the return values are converted to const refs. Bug: webrtc:13465 Change-Id: Ib27969c7f5ef9d6aadf3c95ac171ae6e778cdbfa Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239720 Reviewed-by: Mark Foltz <mfoltz@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#35465}
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.