Prevent potential nullptr dereference if metrics are not enabled. If `webrtc::metrics::Enable();` has not been called, then `metrics::HistogramFactoryGetCountsLinear()` may return a nullptr. Bug: None Change-Id: Id5c01c461fbac818dd91d31a0c2a7fce4fa4f15e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/485100 Reviewed-by: Jeremy Leconte <jleconte@google.com> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48074}
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.