Injectable audio encoders: Moved audio encoder, factory and builtin factory to api/.

Plumbed AudioEncoderFactory up into CreatePeerConnectionFactory.

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2799033006
Cr-Commit-Position: refs/heads/master@{#17977}
This commit is contained in:
ossu
2017-05-02 06:46:30 -07:00
committed by Commit bot
parent c50105db35
commit eb1fde4a26
59 changed files with 574 additions and 375 deletions

View File

@ -14,9 +14,9 @@
#include <memory>
#include <vector>
#include "webrtc/api/audio_codecs/audio_encoder.h"
#include "webrtc/base/buffer.h"
#include "webrtc/base/constructormagic.h"
#include "webrtc/modules/audio_coding/codecs/audio_encoder.h"
namespace webrtc {

View File

@ -12,9 +12,9 @@
#include <vector>
#include "webrtc/base/checks.h"
#include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h"
#include "webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h"
#include "webrtc/test/gtest.h"
#include "webrtc/test/mock_audio_encoder.h"
using ::testing::Return;
using ::testing::_;