8d9f7505802b17882148ea4cdd142e65157f1335

The EffectiveDegradationPreference() exposed an "implementation detail" of the VideoStreamAdapter - how degradation preference may be modified. By changing the return value of ApplyAdaptationTarget() this dependency could be removed. We still have a TODO to get rid of the ResourceListenerResponse enum, but that is QualityScaler related work. This CL does the following: - Module's GetAdaptUpTarget/GetAdaptDownTarget/ApplyAdaptationTarget methods are removed in favor if invoking the VideoStreamAdapter's version of these methods directly. - Removing the EffectiveDegradationPreference() usage in OveruseFrameDetectorResourceAdaptationModule meant moving that usage to VideoStreamAdapter. - MinPixelsPerFrame() is moved to VideoStreamAdapter; this is "can adapt?" logic, i.e. the adapter's responsibility. Bug: webrtc:11393 Change-Id: I75091ce97093bfa48a6d883492de30ed4b004492 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169859 Reviewed-by: Evan Shrubsole <eshr@google.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30714}
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.
Development
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.
More info
- Official web site: http://www.webrtc.org
- Master source code repo: https://webrtc.googlesource.com/src
- Samples and reference apps: https://github.com/webrtc
- Mailing list: http://groups.google.com/group/discuss-webrtc
- Continuous build: http://build.chromium.org/p/client.webrtc
- Coding style guide
- Code of conduct
Description
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%