commit | f7b22c66ff7ef9ea9f4688812cbbab2fd48cf098 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Thu Feb 15 08:18:34 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 15 10:26:28 2024 |
tree | d00ae3369b96229a527ed7b27846fa57f86228ba | |
parent | a2655449ee310704ee2053fd6d43a5ab7002b755 [diff] |
Add Candidate::type_name() Candidate::type() is currently how the name of the type is fetched, but that getter returns a non-standard type name. Instead, I'm adding a new getter, type_name(), will follow up with updating dependent code that needs the string, to use type_name (and adapt to potential dependency on "local" or "stun") and then switch type() to be enum based. Also adding a test file for Candidate with a couple of basic tests to start with. Bug: webrtc:15846 Change-Id: I9b78b2405a9f962a3c07eaa8e72a79854c6f5ceb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/339660 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41740}
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.