Replacing bandwidth adaptation trial with stable target in Opus encoder.
This also means that the NetworkEstimate::bandwidth can be deprecated as it's currently just a copy of the target_rate. Bug: webrtc:10981 Change-Id: I1bc57b98480bd77ce052736b19d630c775428546 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153669 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29288}
This commit is contained in:
committed by
Commit Bot
parent
c30bc169ea
commit
f34116e356
@ -174,7 +174,7 @@ class AudioEncoderOpusImpl final : public AudioEncoder {
|
||||
AudioEncoderOpusConfig config_;
|
||||
const int payload_type_;
|
||||
const bool send_side_bwe_with_overhead_;
|
||||
const bool use_link_capacity_for_adaptation_;
|
||||
const bool use_stable_target_for_adaptation_;
|
||||
const bool adjust_bandwidth_;
|
||||
bool bitrate_changed_;
|
||||
float packet_loss_rate_;
|
||||
@ -192,7 +192,6 @@ class AudioEncoderOpusImpl final : public AudioEncoder {
|
||||
absl::optional<size_t> overhead_bytes_per_packet_;
|
||||
const std::unique_ptr<SmoothingFilter> bitrate_smoother_;
|
||||
absl::optional<int64_t> bitrate_smoother_last_update_time_;
|
||||
absl::optional<int64_t> link_capacity_allocation_bps_;
|
||||
int consecutive_dtx_frames_;
|
||||
|
||||
friend struct AudioEncoderOpus;
|
||||
|
||||
Reference in New Issue
Block a user