2016-01-20 13:40:30 -08:00
|
|
|
/*
|
|
|
|
|
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
#import "RTCPeerConnectionFactory.h"
|
2016-01-20 13:40:30 -08:00
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
#include "api/peer_connection_interface.h"
|
2019-01-25 20:26:48 +01:00
|
|
|
#include "api/scoped_refptr.h"
|
2022-06-21 09:19:34 +09:00
|
|
|
#include "rtc_base/thread.h"
|
2016-01-20 13:40:30 -08:00
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
2020-05-04 16:14:32 +02:00
|
|
|
@interface RTC_OBJC_TYPE (RTCPeerConnectionFactory)
|
|
|
|
|
()
|
2016-01-20 13:40:30 -08:00
|
|
|
|
2020-05-04 16:14:32 +02:00
|
|
|
/**
|
|
|
|
|
* PeerConnectionFactoryInterface created and held by this
|
|
|
|
|
* RTCPeerConnectionFactory object. This is needed to pass to the underlying
|
|
|
|
|
* C++ APIs.
|
|
|
|
|
*/
|
|
|
|
|
@property(nonatomic,
|
|
|
|
|
readonly) rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> nativeFactory;
|
2016-01-20 13:40:30 -08:00
|
|
|
|
2022-06-21 09:19:34 +09:00
|
|
|
@property(nonatomic, readonly) rtc::Thread* signalingThread;
|
|
|
|
|
@property(nonatomic, readonly) rtc::Thread* workerThread;
|
|
|
|
|
|
2016-01-20 13:40:30 -08:00
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|