commit | 4c07605f8d55a8ea96937e3f775226200692e923 | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Wed Mar 18 09:09:59 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 18 11:04:32 2020 |
tree | 09f9207eeeb4330b08d071e60d9327d5031946b6 | |
parent | e5c9f6d106896e870141c3e391e09cbfb593d49f [diff] |
[Adaptation] VideoStreamAdapter unit tests added. This code was previously only exercised by video_stream_adapter_unittest.cc and other tests, acting more like integration tests than unit tests. Now that the VideoStreamAdapter is in a good state, more extensive test coverage is added. Testing includes: - Default restrictions. - Adapting up or down in "maintain-framerate", "maintain-resolution" and "balanced", including... - expecting how frame rate and/or resolution is affected, - reaching kLimitReached, - and reaching unrestricted. - That "disabled" does not adapt. - When adaptation is not possible, including... - kInsufficientInput - kAwaitingPreviousAdaptation - kIsBitrateConstrained - PeekNextRestrictions() - "balanced" + "screenshare" = "maintain-resolution" - Change degradation preference to/from "balanced" clears restrictions. - That using invalidated adaptations triggers DCHECKs. Bug: webrtc:11393 Change-Id: I28e2cf227bc1fd8871ee0d18d9570d4063449160 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170625 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Evan Shrubsole <eshr@google.com> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30816}
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 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.