Hooking up audio network adaptor to VoE.

BUG=webrtc:6303

Review-Url: https://codereview.webrtc.org/2390883004
Cr-Commit-Position: refs/heads/master@{#14611}
This commit is contained in:
minyue
2016-10-12 05:00:55 -07:00
committed by Commit bot
parent 917d4e1e71
commit 7e30432b36
12 changed files with 139 additions and 157 deletions

View File

@ -252,6 +252,9 @@ class AudioCodingModule {
///////////////////////////////////////////////////////////////////////////
// Sets the bitrate to the specified value in bits/sec. If the value is not
// supported by the codec, it will choose another appropriate value.
//
// This is only used in test code that rely on old ACM APIs.
// TODO(minyue): Remove it when possible.
virtual void SetBitRate(int bitrate_bps) = 0;
// int32_t RegisterTransportCallback()
@ -371,6 +374,8 @@ class AudioCodingModule {
// -1 if failed to set packet loss rate,
// 0 if succeeded.
//
// This is only used in test code that rely on old ACM APIs.
// TODO(minyue): Remove it when possible.
virtual int SetPacketLossRate(int packet_loss_rate) = 0;
///////////////////////////////////////////////////////////////////////////