commit | 4c6ca3001936559d22178c10d89cb209246ba032 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Mon Apr 08 15:14:01 2019 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Apr 08 14:01:28 2019 +0000 |
tree | 98f62870b4016aea723a0ed337cac62aac6ef1a9 | |
parent | e893bfc3368984526e52e48921c2a5e523969c00 [diff] |
Update VideoStreamEncoder to use new VideoEncoder::SetRates() method. This CL wires up the new SetRates() method of the video encoders, and refactors a few things in the process: Most notably, the VideoStreamEncoderInterface is update so that the |target_headroom| parameter is replaced with |link_allocation|, meaning that instead of indicating bitrate capacity in excess of the target bitrate, it indicates to total network capacity allocated for the stream including the target bitrate. This matches the VideoEncoder API. The VideoEncoder::RateControlParameters struct gets a few new helper methods. In VideoStreamEncoder, instead of adding more fields to the |last_observed_bitrate*| family, uses an optional struct that inherits from VideoEncoder::RateControlParameters. Bug: webrtc:10481 Change-Id: Iee3965531142ae9b964ed86c0d51db59b1cdd61c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131123 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27487}
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.