OLD | NEW |
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} | 61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} |
62 | 62 |
63 void AudioEncoder::SetProjectedPacketLossRate(double fraction) {} | 63 void AudioEncoder::SetProjectedPacketLossRate(double fraction) {} |
64 | 64 |
65 void AudioEncoder::SetTargetBitrate(int target_bps) {} | 65 void AudioEncoder::SetTargetBitrate(int target_bps) {} |
66 | 66 |
67 rtc::ArrayView<std::unique_ptr<AudioEncoder>> | 67 rtc::ArrayView<std::unique_ptr<AudioEncoder>> |
68 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } | 68 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } |
69 | 69 |
70 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, | 70 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, |
| 71 int min_receiver_frame_length_ms, |
| 72 int max_receiver_frame_length_ms, |
71 const Clock* clock) { | 73 const Clock* clock) { |
72 return false; | 74 return false; |
73 } | 75 } |
74 | 76 |
75 void AudioEncoder::DisableAudioNetworkAdaptor() {} | 77 void AudioEncoder::DisableAudioNetworkAdaptor() {} |
76 | 78 |
77 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {} | 79 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {} |
78 | 80 |
79 void AudioEncoder::OnReceivedUplinkPacketLossFraction( | 81 void AudioEncoder::OnReceivedUplinkPacketLossFraction( |
80 float uplink_packet_loss_fraction) { | 82 float uplink_packet_loss_fraction) { |
81 SetProjectedPacketLossRate(uplink_packet_loss_fraction); | 83 SetProjectedPacketLossRate(uplink_packet_loss_fraction); |
82 } | 84 } |
83 | 85 |
84 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) { | 86 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) { |
85 SetTargetBitrate(target_audio_bitrate_bps); | 87 SetTargetBitrate(target_audio_bitrate_bps); |
86 } | 88 } |
87 | 89 |
88 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} | 90 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} |
89 | 91 |
90 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, | |
91 int max_frame_length_ms) {} | |
92 | |
93 } // namespace webrtc | 92 } // namespace webrtc |
OLD | NEW |