commit | c8fbd899bdd716903a09a9ce8922c47f1517584b | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Tue Mar 24 16:53:59 2020 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 25 11:20:47 2020 +0000 |
tree | b65961b8ead040f0955d5e4e62ace3060615ef5b | |
parent | 000fb8440fb6fe7ea8862bb262bf036b1d7f3803 [diff] |
Fixes temporal rate allocation issues. This CL fixes a few issues where the reported fraction of frames allocated to various temporal layers could be incorrect: * In LibvpxVp8Encoder, calling GetEncoderInfo() while not initialized, or when first configuring with temporal layers and then without, could trigger incorrect fps allocations. * In VP9 when different spatial layers have different max framerates, the layer fps should be compared to the layer with the highest configured fps, not codec_.maxFramerate which is updated to the current input fps on SetRates(). * In EncoderBitrateAdjuster, just warn and ignore if a layer has non-zero bps but zero fps, rather than passing down the chain and risk weird behavior or divide by zero. Bug: b/152040235 Change-Id: I548fb3e099b1ec9f536a7b93313fb40c4d32e596 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171516 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30880}
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.