commit | dff792591fb90e6539f2638bc10f98c1946847f9 | [log] [tgz] |
---|---|---|
author | Evan Shrubsole <eshr@google.com> | Thu Apr 16 09:34:32 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 16 13:27:50 2020 |
tree | df39c11dd0a01db2ca8dfb8cc2a0c157406e2a2e | |
parent | d059dfbc06e06402a420ef4abec9b319e834e754 [diff] |
Remove VideoStreamEncoderObserver::AdaptationReason::kNone Replaces this with 2 methods instead, adding clarity. ClearAdaptationStats - Resets the adaptations statistics to 0. This is done, when the degredation is reset, for example when the preference is changed to/from BALANCED. UpdateAdaptationMaskingSettings - Updates the settings for adaptation statistics reporting. This way we don't report quality adaptations if quality scaling is not enabled (same for resolution/fps scaling). The adaptation counting inside the SendStatisticsProxy is now done in a struct that counts the totals, and then masks out these counts based on the adaptation settings. The MaskedAdaptationSteps uses optionals to hide the values we shoudn't report, while the AdaptationSteps always hold the real totals. All tests have been updated to use the Reset/Clear method as needed. Now that AdaptationCounters and AdaptSteps use the same structure, AdaptationCounters was moved to api/video and replaces AdaptSteps. The AdaptReason enum is also redundant now, and will be removed in a follow-up CL. R=hbos@webrtc.org Bug: webrtc:11392 Change-Id: Iaed6488581325d341a056b5bbf76a01c19d6c282 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171685 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@google.com> Cr-Commit-Position: refs/heads/master@{#31083}
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.