From fb0d54cccb39bb06b320444d00d3b5079b9c3c67 Mon Sep 17 00:00:00 2001 From: enm10k Date: Tue, 16 Jan 2024 23:15:37 +0900 Subject: [PATCH] =?UTF-8?q?libwebrtc=20M121=20=E3=81=AB=E5=AF=BE=E5=BF=9C?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sora_client_context.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sora_client_context.cpp b/src/sora_client_context.cpp index e920134e..5a826d45 100644 --- a/src/sora_client_context.cpp +++ b/src/sora_client_context.cpp @@ -2,6 +2,7 @@ // WebRTC #include +#include #include #include #include @@ -55,7 +56,6 @@ std::shared_ptr SoraClientContext::Create( dependencies.worker_thread = c->worker_thread_.get(); dependencies.signaling_thread = c->signaling_thread_.get(); dependencies.task_queue_factory = webrtc::CreateDefaultTaskQueueFactory(); - dependencies.call_factory = webrtc::CreateCallFactory(); dependencies.event_log_factory = absl::make_unique( dependencies.task_queue_factory.get()); @@ -115,8 +115,7 @@ std::shared_ptr SoraClientContext::Create( c->config_.configure_media_dependencies(dependencies, media_dependencies); } - dependencies.media_engine = - cricket::CreateMediaEngine(std::move(media_dependencies)); + webrtc::EnableMedia(dependencies); if (c->config_.configure_dependencies) { c->config_.configure_dependencies(dependencies);