mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 06:10:40 +01:00

This change removes the ability to set CryptoOptions through the PeerConnection Factory in both Java and IOS. Native will be removed after the Chromium change lands. The semantics have been changed such that these options should only be set on individual PeerConnections and not directly on the Factory itself. This allows for more flexibility in setting CryptoOptions for PeerConnections which are created as part of a factory. Bug: webrtc:10020 Change-Id: I9ef3d431e728927b9ced5de6188cedeb2671254b Reviewed-on: https://webrtc-review.googlesource.com/c/111560 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Commit-Queue: Benjamin Wright <benwright@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25736}
38 lines
1 KiB
Objective-C
38 lines
1 KiB
Objective-C
/*
|
|
* Copyright 2017 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.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "RTCMacros.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
RTC_OBJC_EXPORT
|
|
@interface RTCPeerConnectionFactoryOptions : NSObject
|
|
|
|
@property(nonatomic, assign) BOOL disableEncryption;
|
|
|
|
@property(nonatomic, assign) BOOL disableNetworkMonitor;
|
|
|
|
@property(nonatomic, assign) BOOL ignoreLoopbackNetworkAdapter;
|
|
|
|
@property(nonatomic, assign) BOOL ignoreVPNNetworkAdapter;
|
|
|
|
@property(nonatomic, assign) BOOL ignoreCellularNetworkAdapter;
|
|
|
|
@property(nonatomic, assign) BOOL ignoreWiFiNetworkAdapter;
|
|
|
|
@property(nonatomic, assign) BOOL ignoreEthernetNetworkAdapter;
|
|
|
|
- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|