commit | 413ccc49ecfe459f9c0db96169668571d1485e9b | [log] [tgz] |
---|---|---|
author | Bjorn A Mellem <mellem@webrtc.org> | Fri Apr 26 15:41:05 2019 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Apr 27 00:20:37 2019 +0000 |
tree | 73cbf60c5fb6ec8879d3eced625aae1c74a78903 | |
parent | f36f5e8806e5082417674c7f33bd90b0f157577c [diff] |
Stop DCHECK which occurs in ANA BitrateController when overhead is zero. https://webrtc-review.googlesource.com/c/src/+/119121 added two calls to set the observed overhead. Both SetupSendCodec() and ReconfigureSendCodec() update the encoder's overhead. However, these calls happen before RTP has issued any callbacks to set the overhead, so they tell the encoder that the overhead is zero. This change checks whether the overhead has been set to a non-zero value before each of the new calls and adds a DCHECK to quickly catch future cases which attempt to set overhead to zero. Bug: webrtc:10150 Change-Id: Ieb3345ecfcda1cf25538d5d424383df17a71b4a2 TBR: solenberg@webrtc.org Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134260 Commit-Queue: Bjorn Mellem <mellem@webrtc.org> Reviewed-by: Anton Sukhanov <sukhanov@webrtc.org> Reviewed-by: Minyue Li <minyue@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27793}
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.