blob: 96136462708581f7b18b239dffc16f34f873c698 [file] [log] [blame]
Jon Hjelleda99da82016-01-20 13:40:30 -08001/*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "RTCPeerConnectionFactory.h"
Jon Hjelleda99da82016-01-20 13:40:30 -080012
Steve Anton10542f22019-01-11 09:11:00 -080013#include "api/peer_connection_interface.h"
Mirko Bonadeid9708072019-01-25 20:26:48 +010014#include "api/scoped_refptr.h"
Byoungchan Lee2b46a582022-06-21 09:19:34 +090015#include "rtc_base/thread.h"
Jon Hjelleda99da82016-01-20 13:40:30 -080016
17NS_ASSUME_NONNULL_BEGIN
18
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020019@interface RTC_OBJC_TYPE (RTCPeerConnectionFactory)
20()
Jon Hjelleda99da82016-01-20 13:40:30 -080021
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020022 /**
23 * PeerConnectionFactoryInterface created and held by this
24 * RTCPeerConnectionFactory object. This is needed to pass to the underlying
25 * C++ APIs.
26 */
27 @property(nonatomic,
28 readonly) rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> nativeFactory;
Jon Hjelleda99da82016-01-20 13:40:30 -080029
Byoungchan Lee2b46a582022-06-21 09:19:34 +090030@property(nonatomic, readonly) rtc::Thread* signalingThread;
31@property(nonatomic, readonly) rtc::Thread* workerThread;
32
Jon Hjelleda99da82016-01-20 13:40:30 -080033@end
34
35NS_ASSUME_NONNULL_END