commit | d2930c6c2bdc9db5962b31d831c4dcfacef6198c | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Fri Apr 17 15:31:48 2020 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 17 15:10:15 2020 +0000 |
tree | e8b2968e921cac4caa7dceee95b3b20dbfd5587a | |
parent | 00032698ac9953828112b8e011445cd2b9a44b83 [diff] |
[Adaptation] Report AdaptationCounters OnVideoSourceRestrictionsUpdated. This CL is part of the Call-Level Adaptation Processing design doc: https://docs.google.com/document/d/1ZyC26yOCknrrcYa839ZWLxD6o6Gig5A3lVTh4E41074/edit?usp=sharing By pushing VideoAdaptationCounters updates on VideoSourceRestrictions changes, alongside the Resource* that triggered the adaptation, we are able to update |active_counts_| without an explicit dependency on the VideoStreamAdapter. This allows a future CL to split up "processor" logic from "video stream encoder resource and active counts" logic, which will ultimately be necessary in order to do processing on a "processing queue" and encoder and stats logic on the "encoder queue". If the restrictions got cleared by an API call (ResetVideoSourceRestrictions() or SetDegradationPreference()) we pass null as the "reason_resource". This allows is to clear the active_counts_, and the code that invokes OnVideoSourceRestrictionsUpdated() does not have to be aware of active_counts_ (needed to split the processor module in two). Bug: webrtc:11172 Change-Id: Icab6d5121c0ebd27d2a00f1bffc8191f8f05f562 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173000 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Evan Shrubsole <eshr@google.com> Cr-Commit-Position: refs/heads/master@{#31103}
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.