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 25 matching lines...) Expand all Loading... |
36 rtc::Optional<size_t> num_channels; | 36 rtc::Optional<size_t> num_channels; |
37 }; | 37 }; |
38 | 38 |
39 virtual ~AudioNetworkAdaptor() = default; | 39 virtual ~AudioNetworkAdaptor() = default; |
40 | 40 |
41 virtual void SetUplinkBandwidth(int uplink_bandwidth_bps) = 0; | 41 virtual void SetUplinkBandwidth(int uplink_bandwidth_bps) = 0; |
42 | 42 |
43 virtual void SetUplinkPacketLossFraction( | 43 virtual void SetUplinkPacketLossFraction( |
44 float uplink_packet_loss_fraction) = 0; | 44 float uplink_packet_loss_fraction) = 0; |
45 | 45 |
| 46 virtual void SetRtt(int rtt_ms) = 0; |
| 47 |
46 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, | 48 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, |
47 int max_frame_length_ms) = 0; | 49 int max_frame_length_ms) = 0; |
48 | 50 |
49 virtual EncoderRuntimeConfig GetEncoderRuntimeConfig() = 0; | 51 virtual EncoderRuntimeConfig GetEncoderRuntimeConfig() = 0; |
50 | 52 |
51 virtual void StartDebugDump(FILE* file_handle) = 0; | 53 virtual void StartDebugDump(FILE* file_handle) = 0; |
| 54 |
| 55 virtual void StopDebugDump() = 0; |
52 }; | 56 }; |
53 | 57 |
54 } // namespace webrtc | 58 } // namespace webrtc |
55 | 59 |
56 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO
RK_ADAPTOR_H_ | 60 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO
RK_ADAPTOR_H_ |
OLD | NEW |