commit | 0c563a42ec1f207e442763afa0dbd09d5511b0b2 | [log] [tgz] |
---|---|---|
author | Victor Boivie <boivie@webrtc.org> | Tue Apr 27 10:24:01 2021 +0200 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 27 14:54:59 2021 +0000 |
tree | 0086d780d1706690d6836792a54168d58193c869 | |
parent | 306b1393cbe3412e9023f8da9f9ff168415fd147 [diff] |
Use unordered_map in RTCPReceiver In highly loaded media servers, RTCPReceiver's use of std::map attributes to ~0.5% CPU. It's mostly ::find and the [] operator, and they are all keyed by SSRC, which is an unordered data type. This makes these maps suitable as unordered maps, as they have constant time complexity for lookups. Bug: webrtc:12689 Change-Id: I7b305e233fcbed0e452632946ab0de5ee66f8dda Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/216321 Commit-Queue: Victor Boivie <boivie@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33850}
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.