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:
parent
62379c89d0
commit
9b99499124
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user