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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 | 60 |
61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} | 61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} |
62 | 62 |
63 void AudioEncoder::SetTargetBitrate(int target_bps) {} | 63 void AudioEncoder::SetTargetBitrate(int target_bps) {} |
64 | 64 |
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 RtcEventLog* event_log, | 69 RtcEventLog* event_log) { |
70 const Clock* clock) { | |
71 return false; | 70 return false; |
72 } | 71 } |
73 | 72 |
74 void AudioEncoder::DisableAudioNetworkAdaptor() {} | 73 void AudioEncoder::DisableAudioNetworkAdaptor() {} |
75 | 74 |
76 void AudioEncoder::OnReceivedUplinkPacketLossFraction( | 75 void AudioEncoder::OnReceivedUplinkPacketLossFraction( |
77 float uplink_packet_loss_fraction) {} | 76 float uplink_packet_loss_fraction) {} |
78 | 77 |
79 void AudioEncoder::OnReceivedUplinkRecoverablePacketLossFraction( | 78 void AudioEncoder::OnReceivedUplinkRecoverablePacketLossFraction( |
80 float uplink_recoverable_packet_loss_fraction) {} | 79 float uplink_recoverable_packet_loss_fraction) {} |
81 | 80 |
82 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) { | 81 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) { |
83 OnReceivedUplinkBandwidth(target_audio_bitrate_bps, rtc::Optional<int64_t>()); | 82 OnReceivedUplinkBandwidth(target_audio_bitrate_bps, rtc::Optional<int64_t>()); |
84 } | 83 } |
85 | 84 |
86 void AudioEncoder::OnReceivedUplinkBandwidth( | 85 void AudioEncoder::OnReceivedUplinkBandwidth( |
87 int target_audio_bitrate_bps, | 86 int target_audio_bitrate_bps, |
88 rtc::Optional<int64_t> probing_interval_ms) {} | 87 rtc::Optional<int64_t> probing_interval_ms) {} |
89 | 88 |
90 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} | 89 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} |
91 | 90 |
92 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} | 91 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} |
93 | 92 |
94 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, | 93 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, |
95 int max_frame_length_ms) {} | 94 int max_frame_length_ms) {} |
96 | 95 |
97 } // namespace webrtc | 96 } // namespace webrtc |
OLD | NEW |