From 9b99499124792e5eb9342e670380d67d45f39e59 Mon Sep 17 00:00:00 2001 From: ossu Date: Fri, 17 Jun 2016 04:16:24 -0700 Subject: [PATCH] Added a builtin audio decoder factory to the default PeerConnectionFactory constructor. BUG=webrtc:5805 Review-Url: https://codereview.webrtc.org/2070833002 Cr-Commit-Position: refs/heads/master@{#13186} --- webrtc/api/peerconnectionfactory.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc/api/peerconnectionfactory.cc b/webrtc/api/peerconnectionfactory.cc index 08fe952abd..745de3f214 100644 --- a/webrtc/api/peerconnectionfactory.cc +++ b/webrtc/api/peerconnectionfactory.cc @@ -85,7 +85,8 @@ PeerConnectionFactory::PeerConnectionFactory() wraps_current_thread_(false), network_thread_(rtc::Thread::CreateWithSocketServer().release()), worker_thread_(rtc::Thread::Create().release()), - signaling_thread_(rtc::Thread::Current()) { + signaling_thread_(rtc::Thread::Current()), + audio_decoder_factory_(CreateBuiltinAudioDecoderFactory()) { if (!signaling_thread_) { signaling_thread_ = rtc::ThreadManager::Instance()->WrapCurrentThread(); wraps_current_thread_ = true;