commit | 5a92577a941493c86987f21e006e1f1a7f78605b | [log] [tgz] |
---|---|---|
author | Byoungchan Lee <daniel.l@hpcnt.com> | Tue Oct 18 17:43:18 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 19 08:06:23 2022 |
tree | ed745681776418db9bb54eb87a1e27a36571257d | |
parent | 720bc4df3d090e5c1ea43916f04bc8f78524907d [diff] |
Remove fields from remote candidates that could cause crashes in GetStats Typically, remote candidates come from signalling and are deserialized into C++ objects. The network_type field of these candidates is always ADAPTER_TYPE_UNKNOWN. However, in tests it is common to pass SDP and remote candidates as C++ objects. In this case, the network_type property of remote candidates is preserved, so DCHECK might be triggered when GetStats is called. Clearing fields that are not suitable as remote candidates fixes this issue. Bug: None Change-Id: Ida01b0224bce5cf3e87bcad1ddaca35c9f4fffe7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/279680 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Auto-Submit: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38436}
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.