Reland "Stop using ACM factory in VoiceEngine"
This change was originally landed as r5954, but had to be reverted in r5955 due to bots failing. The failures should be fixed in r5956, so the original change is now relanded. BUG=2996 TBR=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12339004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5958 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
d59359af4d
commit
34fe0153b9
@ -836,7 +836,7 @@ Channel::Channel(int32_t channelId,
|
||||
VoEModuleId(instanceId, channelId), Clock::GetRealTimeClock(), this,
|
||||
this, this, rtp_payload_registry_.get())),
|
||||
telephone_event_handler_(rtp_receiver_->GetTelephoneEventHandler()),
|
||||
audio_coding_(config.Get<AudioCodingModuleFactory>().Create(
|
||||
audio_coding_(AudioCodingModule::Create(
|
||||
VoEModuleId(instanceId, channelId))),
|
||||
_rtpDumpIn(*RtpDump::CreateRtpDump()),
|
||||
_rtpDumpOut(*RtpDump::CreateRtpDump()),
|
||||
|
||||
@ -86,8 +86,6 @@ int VoiceEngineImpl::Release() {
|
||||
|
||||
VoiceEngine* VoiceEngine::Create() {
|
||||
Config* config = new Config();
|
||||
config->Set<AudioCodingModuleFactory>(new NewAudioCodingModuleFactory());
|
||||
|
||||
return GetVoiceEngine(config, true);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user