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

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCConfiguration.h

Issue 2976953002: iOS - Add iceRegatherIntervalRange. (Closed)
Patch Set: Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 12
13 #import <WebRTC/RTCMacros.h> 13 #import <WebRTC/RTCMacros.h>
14 14
15 @class RTCIceServer; 15 @class RTCIceServer;
16 @class RTCIntervalRange;
16 17
17 /** 18 /**
18 * Represents the ice transport policy. This exposes the same states in C++, 19 * 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 * which include one more state than what exists in the W3C spec.
20 */ 21 */
21 typedef NS_ENUM(NSInteger, RTCIceTransportPolicy) { 22 typedef NS_ENUM(NSInteger, RTCIceTransportPolicy) {
22 RTCIceTransportPolicyNone, 23 RTCIceTransportPolicyNone,
23 RTCIceTransportPolicyRelay, 24 RTCIceTransportPolicyRelay,
24 RTCIceTransportPolicyNoHost, 25 RTCIceTransportPolicyNoHost,
25 RTCIceTransportPolicyAll 26 RTCIceTransportPolicyAll
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 /** If set to YES, this means the ICE transport should presume TURN-to-TURN 103 /** If set to YES, this means the ICE transport should presume TURN-to-TURN
103 * candidate pairs will succeed, even before a binding response is received. 104 * candidate pairs will succeed, even before a binding response is received.
104 */ 105 */
105 @property(nonatomic, assign) BOOL shouldPresumeWritableWhenFullyRelayed; 106 @property(nonatomic, assign) BOOL shouldPresumeWritableWhenFullyRelayed;
106 107
107 /** If set to non-nil, controls the minimal interval between consecutive ICE 108 /** If set to non-nil, controls the minimal interval between consecutive ICE
108 * check packets. 109 * check packets.
109 */ 110 */
110 @property(nonatomic, copy, nullable) NSNumber *iceCheckMinInterval; 111 @property(nonatomic, copy, nullable) NSNumber *iceCheckMinInterval;
111 112
113 /** ICE Periodic Regathering
114 * If set, WebRTC will periodically create and propose candidates without
115 * starting a new ICE generation. The regathering happens continuously with
116 * interval specified in milliseconds by the uniform distribution [a, b].
117 */
118 @property(nonatomic, strong, nullable) RTCIntervalRange *iceRegatherIntervalRang e;
119
112 - (instancetype)init; 120 - (instancetype)init;
113 121
114 @end 122 @end
115 123
116 NS_ASSUME_NONNULL_END 124 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698