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

Side by Side Diff: webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h

Issue 2661043003: Allow ANA to receive RPLR (recoverable packet loss rate) indications (Closed)
Patch Set: Rebased Created 3 years, 9 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool GetDtx() const override; 107 bool GetDtx() const override;
108 108
109 bool SetApplication(Application application) override; 109 bool SetApplication(Application application) override;
110 void SetMaxPlaybackRate(int frequency_hz) override; 110 void SetMaxPlaybackRate(int frequency_hz) override;
111 bool EnableAudioNetworkAdaptor(const std::string& config_string, 111 bool EnableAudioNetworkAdaptor(const std::string& config_string,
112 RtcEventLog* event_log, 112 RtcEventLog* event_log,
113 const Clock* clock) override; 113 const Clock* clock) override;
114 void DisableAudioNetworkAdaptor() override; 114 void DisableAudioNetworkAdaptor() override;
115 void OnReceivedUplinkPacketLossFraction( 115 void OnReceivedUplinkPacketLossFraction(
116 const rtc::Optional<float>& uplink_packet_loss_fraction) override; 116 const rtc::Optional<float>& uplink_packet_loss_fraction) override;
117 void OnReceivedUplinkRecoverablePacketLossFraction(
118 const rtc::Optional<float>& uplink_recoverable_packet_loss_fraction)
119 override;
117 void OnReceivedUplinkBandwidth( 120 void OnReceivedUplinkBandwidth(
118 int target_audio_bitrate_bps, 121 int target_audio_bitrate_bps,
119 rtc::Optional<int64_t> probing_interval_ms) override; 122 rtc::Optional<int64_t> probing_interval_ms) override;
120 void OnReceivedRtt(int rtt_ms) override; 123 void OnReceivedRtt(int rtt_ms) override;
121 void OnReceivedOverhead(size_t overhead_bytes_per_packet) override; 124 void OnReceivedOverhead(size_t overhead_bytes_per_packet) override;
122 void SetReceiverFrameLengthRange(int min_frame_length_ms, 125 void SetReceiverFrameLengthRange(int min_frame_length_ms,
123 int max_frame_length_ms) override; 126 int max_frame_length_ms) override;
124 rtc::ArrayView<const int> supported_frame_lengths_ms() const { 127 rtc::ArrayView<const int> supported_frame_lengths_ms() const {
125 return config_.supported_frame_lengths_ms; 128 return config_.supported_frame_lengths_ms;
126 } 129 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 rtc::Optional<size_t> overhead_bytes_per_packet_; 178 rtc::Optional<size_t> overhead_bytes_per_packet_;
176 const std::unique_ptr<SmoothingFilter> bitrate_smoother_; 179 const std::unique_ptr<SmoothingFilter> bitrate_smoother_;
177 rtc::Optional<int64_t> bitrate_smoother_last_update_time_; 180 rtc::Optional<int64_t> bitrate_smoother_last_update_time_;
178 181
179 RTC_DISALLOW_COPY_AND_ASSIGN(AudioEncoderOpus); 182 RTC_DISALLOW_COPY_AND_ASSIGN(AudioEncoderOpus);
180 }; 183 };
181 184
182 } // namespace webrtc 185 } // namespace webrtc
183 186
184 #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_AUDIO_ENCODER_OPUS_H_ 187 #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_AUDIO_ENCODER_OPUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698