| commit | 7b167fbace1a6c5cabe453d08670d5f41ec8fafe | [log] [tgz] |
|---|---|---|
| author | Tommi <tommi@webrtc.org> | Fri Oct 03 07:33:55 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 03 09:53:34 2025 |
| tree | 104ae6c9d9cbed98d49cbeb8c630d3f4f9dba6a9 | |
| parent | 1b1b76e43b25727dbddc63c7daac8db3c5419899 [diff] |
Move IceCandidate::Create to api/ and break cyclical pc/ dependency The static IceCandidate::Create function was previously implemented in pc/jsep_ice_candidate.cc. This created an unwanted dependency from the api/ target to the pc/ target, which in turn depended on api/. This patch moves the function to api/jsep_ice_candidate.cc, resolving this. To make the move possible, the implementation now uses Candidate::ParseCandidateString instead of relying on the ParseCandidate helper function from pc/webrtc_sdp.cc. The now-redundant SDP candidate parsing logic is removed from pc/webrtc_sdp.cc. ParseCandidate, now just wraps Candidate::ParseCandidateString but functions as before. This also removes the VerifyResults DCHECK class that was used to ensure equivalency between the two parsing implementations. Bug: webrtc:12330 Change-Id: I2061bf125b45168b06445aba34bad72e2d557de4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/411200 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45816}
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.