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

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor.h

Issue 2364473005: Hooking up target audio bitrate to audio network adaptor. (Closed)
Patch Set: Created 4 years, 2 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) 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698