commit | 023f237a1163844875157a9fb06a2ae6470d52d6 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Wed Oct 01 12:34:20 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 02 09:20:07 2025 |
tree | edd1240c039344f17f16fd3182390f5a5f007aec | |
parent | e705f678abc12a4a7362965bd623a9fddd4271aa [diff] |
Add `StringToIceCandidateType()` This introduces the `StringToIceCandidateType` helper function, which converts a string representation of an ICE candidate type into its corresponding `IceCandidateType` enum value. This function serves as the inverse of the existing `IceCandidateTypeToString` function. Its primary purpose is to facilitate the removal of legacy string constants for candidate types, enabling safer, type-based comparisons and assignments. Bug: none Change-Id: I0f000ed684506b82af866f3a3b23b23a99c7ec69 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/413400 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45801}
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.