OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 27 matching lines...) Expand all Loading... |
38 const Config& config, | 38 const Config& config, |
39 std::unique_ptr<ControllerManager> controller_manager, | 39 std::unique_ptr<ControllerManager> controller_manager, |
40 std::unique_ptr<DebugDumpWriter> debug_dump_writer = nullptr); | 40 std::unique_ptr<DebugDumpWriter> debug_dump_writer = nullptr); |
41 | 41 |
42 ~AudioNetworkAdaptorImpl() override; | 42 ~AudioNetworkAdaptorImpl() override; |
43 | 43 |
44 void SetUplinkBandwidth(int uplink_bandwidth_bps) override; | 44 void SetUplinkBandwidth(int uplink_bandwidth_bps) override; |
45 | 45 |
46 void SetUplinkPacketLossFraction(float uplink_packet_loss_fraction) override; | 46 void SetUplinkPacketLossFraction(float uplink_packet_loss_fraction) override; |
47 | 47 |
| 48 void SetUplinkRecoverablePacketLossFraction( |
| 49 float uplink_recoverable_packet_loss_fraction) override; |
| 50 |
48 void SetRtt(int rtt_ms) override; | 51 void SetRtt(int rtt_ms) override; |
49 | 52 |
50 void SetTargetAudioBitrate(int target_audio_bitrate_bps) override; | 53 void SetTargetAudioBitrate(int target_audio_bitrate_bps) override; |
51 | 54 |
52 void SetOverhead(size_t overhead_bytes_per_packet) override; | 55 void SetOverhead(size_t overhead_bytes_per_packet) override; |
53 | 56 |
54 EncoderRuntimeConfig GetEncoderRuntimeConfig() override; | 57 EncoderRuntimeConfig GetEncoderRuntimeConfig() override; |
55 | 58 |
56 void StartDebugDump(FILE* file_handle) override; | 59 void StartDebugDump(FILE* file_handle) override; |
57 | 60 |
(...skipping 13 matching lines...) Expand all Loading... |
71 const std::unique_ptr<EventLogWriter> event_log_writer_; | 74 const std::unique_ptr<EventLogWriter> event_log_writer_; |
72 | 75 |
73 Controller::NetworkMetrics last_metrics_; | 76 Controller::NetworkMetrics last_metrics_; |
74 | 77 |
75 RTC_DISALLOW_COPY_AND_ASSIGN(AudioNetworkAdaptorImpl); | 78 RTC_DISALLOW_COPY_AND_ASSIGN(AudioNetworkAdaptorImpl); |
76 }; | 79 }; |
77 | 80 |
78 } // namespace webrtc | 81 } // namespace webrtc |
79 | 82 |
80 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPT
OR_IMPL_H_ | 83 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPT
OR_IMPL_H_ |
OLD | NEW |