Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: webrtc/api/objc/RTCConfiguration.h

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix test gyp Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/objc/RTCAudioTrack+Private.h ('k') | webrtc/api/objc/RTCConfiguration.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
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
11 #import <Foundation/Foundation.h>
12
13 #import "webrtc/base/objc/RTCMacros.h"
14
15 @class RTCIceServer;
16
17 /**
18 * Represents the ice transport policy. This exposes the same states in C++,
19 * which include one more state than what exists in the W3C spec.
20 */
21 typedef NS_ENUM(NSInteger, RTCIceTransportPolicy) {
22 RTCIceTransportPolicyNone,
23 RTCIceTransportPolicyRelay,
24 RTCIceTransportPolicyNoHost,
25 RTCIceTransportPolicyAll
26 };
27
28 /** Represents the bundle policy. */
29 typedef NS_ENUM(NSInteger, RTCBundlePolicy) {
30 RTCBundlePolicyBalanced,
31 RTCBundlePolicyMaxCompat,
32 RTCBundlePolicyMaxBundle
33 };
34
35 /** Represents the rtcp mux policy. */
36 typedef NS_ENUM(NSInteger, RTCRtcpMuxPolicy) {
37 RTCRtcpMuxPolicyNegotiate,
38 RTCRtcpMuxPolicyRequire
39 };
40
41 /** Represents the tcp candidate policy. */
42 typedef NS_ENUM(NSInteger, RTCTcpCandidatePolicy) {
43 RTCTcpCandidatePolicyEnabled,
44 RTCTcpCandidatePolicyDisabled
45 };
46
47 /** Represents the encryption key type. */
48 typedef NS_ENUM(NSInteger, RTCEncryptionKeyType) {
49 RTCEncryptionKeyTypeRSA,
50 RTCEncryptionKeyTypeECDSA,
51 };
52
53 NS_ASSUME_NONNULL_BEGIN
54
55 RTC_EXPORT
56 @interface RTCConfiguration : NSObject
57
58 /** An array of Ice Servers available to be used by ICE. */
59 @property(nonatomic, copy) NSArray<RTCIceServer *> *iceServers;
60
61 /** Which candidates the ICE agent is allowed to use. The W3C calls it
62 * |iceTransportPolicy|, while in C++ it is called |type|. */
63 @property(nonatomic, assign) RTCIceTransportPolicy iceTransportPolicy;
64
65 /** The media-bundling policy to use when gathering ICE candidates. */
66 @property(nonatomic, assign) RTCBundlePolicy bundlePolicy;
67
68 /** The rtcp-mux policy to use when gathering ICE candidates. */
69 @property(nonatomic, assign) RTCRtcpMuxPolicy rtcpMuxPolicy;
70 @property(nonatomic, assign) RTCTcpCandidatePolicy tcpCandidatePolicy;
71 @property(nonatomic, assign) int audioJitterBufferMaxPackets;
72 @property(nonatomic, assign) int iceConnectionReceivingTimeout;
73 @property(nonatomic, assign) int iceBackupCandidatePairPingInterval;
74
75 /** Key type used to generate SSL identity. Default is ECDSA. */
76 @property(nonatomic, assign) RTCEncryptionKeyType keyType;
77
78 - (instancetype)init NS_DESIGNATED_INITIALIZER;
79
80 @end
81
82 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/api/objc/RTCAudioTrack+Private.h ('k') | webrtc/api/objc/RTCConfiguration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698