commit | c69453d93bd13e3c27bc2d3868db535ad0310204 | [log] [tgz] |
---|---|---|
author | Tomas Gunnarsson <tommi@webrtc.org> | Thu Jan 06 12:36:04 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 06 12:52:35 2022 |
tree | c2766e432d9fe5838c795c4082e10a5b6cf33340 | |
parent | ac72dda645f02dd45868ee554d658f2ad9ace132 [diff] |
Change SetLocalContent in channel classes to avoid Invoke. With these changes, we now often have 0 invokes and at most 1 when calling SetLocalContent on a channel. Before we had at least 1 and typically 2. Summary of changes. * Updating RtpExtension::DeduplicateHeaderExtensions to return a sorted vector (+test) for easy detection of changes. * Before updating the transport on the network thread, detect if actual changes to the demuxer criteria or changes to the rtp header extensions have been made. * Consolidate both transport updates to a single call instead of two. * Added DCHECK guards to catch regressions in number of invokes. A possible upcoming improvement is to update the transport asynchronously. Bug: webrtc:13536 Change-Id: I71ef7b181635a796ffa1e3a02a0f661d28a4870c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/244700 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35638}
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.