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 | 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; | 46 virtual void SetRtt(int rtt_ms) = 0; |
47 | 47 |
| 48 virtual void SetTargetAudioBitrate(int target_audio_bitrate_bps) = 0; |
| 49 |
48 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, | 50 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, |
49 int max_frame_length_ms) = 0; | 51 int max_frame_length_ms) = 0; |
50 | 52 |
51 virtual EncoderRuntimeConfig GetEncoderRuntimeConfig() = 0; | 53 virtual EncoderRuntimeConfig GetEncoderRuntimeConfig() = 0; |
52 | 54 |
53 virtual void StartDebugDump(FILE* file_handle) = 0; | 55 virtual void StartDebugDump(FILE* file_handle) = 0; |
54 | 56 |
55 virtual void StopDebugDump() = 0; | 57 virtual void StopDebugDump() = 0; |
56 }; | 58 }; |
57 | 59 |
58 } // namespace webrtc | 60 } // namespace webrtc |
59 | 61 |
60 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO
RK_ADAPTOR_H_ | 62 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO
RK_ADAPTOR_H_ |
OLD | NEW |