Skip to content

Commit 34222f4

Browse files
committed
m142 の PeerConnectionFactory 引数変更に対応する
1 parent 5054b86 commit 34222f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sora_peer_connection_factory.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ class PeerConnectionFactoryWithContext : public webrtc::PeerConnectionFactory {
2828
webrtc::scoped_refptr<webrtc::ConnectionContext> context,
2929
webrtc::PeerConnectionFactoryDependencies* dependencies)
3030
: conn_context_(context),
31-
webrtc::PeerConnectionFactory(context, dependencies) {}
31+
webrtc::PeerConnectionFactory(webrtc::CreateEnvironment(),
32+
context,
33+
dependencies) {}
3234

3335
static webrtc::scoped_refptr<PeerConnectionFactoryWithContext> Create(
3436
webrtc::PeerConnectionFactoryDependencies dependencies) {

0 commit comments

Comments
 (0)