mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 15:47:53 +01:00

A field has been added to "CryptoOptions" to enable SRTP_AES128_CM_SHA1_32 from native apps if really necessary. R=deadbeef@webrtc.org Bug: webrtc:7670 Change-Id: I36b6ab3e302fbf3cda2611ff196757e43a56e704 Reviewed-on: https://webrtc-review.googlesource.com/41420 Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Joachim Bauch <jbauch@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21952}
40 lines
1.1 KiB
Objective-C
40 lines
1.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 <WebRTC/RTCMacros.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
RTC_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;
|
|
|
|
@property(nonatomic, assign) BOOL enableAes128Sha1_32CryptoCipher;
|
|
|
|
- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|