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}
This commit is contained in:
ossu 2016-06-17 04:16:24 -07:00 committed by Commit bot
parent 62379c89d0
commit 9b99499124

View File

@ -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;