Revert "Stop using ACM factory in VoiceEngine"
Some of the bots where breaking. TBR=henrika@webrtc.org BUG=2996 Review URL: https://webrtc-codereview.appspot.com/12319004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5955 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
139706ec0b
commit
0c108d0b4d
@ -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_(AudioCodingModule::Create(
|
||||
audio_coding_(config.Get<AudioCodingModuleFactory>().Create(
|
||||
VoEModuleId(instanceId, channelId))),
|
||||
_rtpDumpIn(*RtpDump::CreateRtpDump()),
|
||||
_rtpDumpOut(*RtpDump::CreateRtpDump()),
|
||||
|
@ -86,6 +86,8 @@ int VoiceEngineImpl::Release() {
|
||||
|
||||
VoiceEngine* VoiceEngine::Create() {
|
||||
Config* config = new Config();
|
||||
config->Set<AudioCodingModuleFactory>(new NewAudioCodingModuleFactory());
|
||||
|
||||
return GetVoiceEngine(config, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user