Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: webrtc/modules/audio_coding/codecs/audio_encoder.cc

Issue 2546493002: Update smoothed bitrate. (Closed)
Patch Set: Changed cl according to offline discussions. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 rtc::ArrayView<std::unique_ptr<AudioEncoder>> 65 rtc::ArrayView<std::unique_ptr<AudioEncoder>>
66 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } 66 AudioEncoder::ReclaimContainedEncoders() { return nullptr; }
67 67
68 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, 68 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string,
69 const Clock* clock) { 69 const Clock* clock) {
70 return false; 70 return false;
71 } 71 }
72 72
73 void AudioEncoder::DisableAudioNetworkAdaptor() {} 73 void AudioEncoder::DisableAudioNetworkAdaptor() {}
74 74
75 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {}
76
77 void AudioEncoder::OnReceivedUplinkPacketLossFraction( 75 void AudioEncoder::OnReceivedUplinkPacketLossFraction(
78 float uplink_packet_loss_fraction) {} 76 float uplink_packet_loss_fraction) {}
79 77
80 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {} 78 void AudioEncoder::OnReceivedTargetAudioBitrate(
79 int target_audio_bitrate_bps,
80 rtc::Optional<int64_t> probing_interval_ms) {}
81 81
82 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} 82 void AudioEncoder::OnReceivedRtt(int rtt_ms) {}
83 83
84 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} 84 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {}
85 85
86 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, 86 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms,
87 int max_frame_length_ms) {} 87 int max_frame_length_ms) {}
88 88
89 } // namespace webrtc 89 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698