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

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

Issue 2390883004: Hooking up audio network adaptor to VoE. (Closed)
Patch Set: adding a comment Created 4 years, 2 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
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, 70 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string,
71 const Clock* clock) { 71 const Clock* clock) {
72 return false; 72 return false;
73 } 73 }
74 74
75 void AudioEncoder::DisableAudioNetworkAdaptor() {} 75 void AudioEncoder::DisableAudioNetworkAdaptor() {}
76 76
77 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {} 77 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {}
78 78
79 void AudioEncoder::OnReceivedUplinkPacketLossFraction( 79 void AudioEncoder::OnReceivedUplinkPacketLossFraction(
80 float uplink_packet_loss_fraction) {} 80 float uplink_packet_loss_fraction) {
81 SetProjectedPacketLossRate(uplink_packet_loss_fraction);
82 }
81 83
82 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {} 84 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {
85 SetTargetBitrate(target_audio_bitrate_bps);
86 }
83 87
84 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} 88 void AudioEncoder::OnReceivedRtt(int rtt_ms) {}
85 89
86 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, 90 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms,
87 int max_frame_length_ms) {} 91 int max_frame_length_ms) {}
88 92
89 } // namespace webrtc 93 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698