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

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

Issue 1799443006: Rename RTCIceConnectionStateMax to RTCIceConnectionStateCount (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes based on feedback Created 4 years, 9 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 | « no previous file | webrtc/api/objc/RTCPeerConnection.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 15 matching lines...) Expand all
26 extern NSString * const kRTCPeerConnectionErrorDomain; 26 extern NSString * const kRTCPeerConnectionErrorDomain;
27 extern int const kRTCSessionDescriptionErrorCode; 27 extern int const kRTCSessionDescriptionErrorCode;
28 28
29 /** Represents the signaling state of the peer connection. */ 29 /** Represents the signaling state of the peer connection. */
30 typedef NS_ENUM(NSInteger, RTCSignalingState) { 30 typedef NS_ENUM(NSInteger, RTCSignalingState) {
31 RTCSignalingStateStable, 31 RTCSignalingStateStable,
32 RTCSignalingStateHaveLocalOffer, 32 RTCSignalingStateHaveLocalOffer,
33 RTCSignalingStateHaveLocalPrAnswer, 33 RTCSignalingStateHaveLocalPrAnswer,
34 RTCSignalingStateHaveRemoteOffer, 34 RTCSignalingStateHaveRemoteOffer,
35 RTCSignalingStateHaveRemotePrAnswer, 35 RTCSignalingStateHaveRemotePrAnswer,
36 // Not an actual state, represents the total number of states.
36 RTCSignalingStateClosed, 37 RTCSignalingStateClosed,
37 }; 38 };
38 39
39 /** Represents the ice connection state of the peer connection. */ 40 /** Represents the ice connection state of the peer connection. */
40 typedef NS_ENUM(NSInteger, RTCIceConnectionState) { 41 typedef NS_ENUM(NSInteger, RTCIceConnectionState) {
41 RTCIceConnectionStateNew, 42 RTCIceConnectionStateNew,
42 RTCIceConnectionStateChecking, 43 RTCIceConnectionStateChecking,
43 RTCIceConnectionStateConnected, 44 RTCIceConnectionStateConnected,
44 RTCIceConnectionStateCompleted, 45 RTCIceConnectionStateCompleted,
45 RTCIceConnectionStateFailed, 46 RTCIceConnectionStateFailed,
46 RTCIceConnectionStateDisconnected, 47 RTCIceConnectionStateDisconnected,
47 RTCIceConnectionStateClosed, 48 RTCIceConnectionStateClosed,
48 RTCIceConnectionStateMax, 49 RTCIceConnectionStateCount,
49 }; 50 };
50 51
51 /** Represents the ice gathering state of the peer connection. */ 52 /** Represents the ice gathering state of the peer connection. */
52 typedef NS_ENUM(NSInteger, RTCIceGatheringState) { 53 typedef NS_ENUM(NSInteger, RTCIceGatheringState) {
53 RTCIceGatheringStateNew, 54 RTCIceGatheringStateNew,
54 RTCIceGatheringStateGathering, 55 RTCIceGatheringStateGathering,
55 RTCIceGatheringStateComplete, 56 RTCIceGatheringStateComplete,
56 }; 57 };
57 58
58 /** Represents the stats output level. */ 59 /** Represents the stats output level. */
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 */ 189 */
189 - (void)statsForTrack: 190 - (void)statsForTrack:
190 (nullable RTCMediaStreamTrack *)mediaStreamTrack 191 (nullable RTCMediaStreamTrack *)mediaStreamTrack
191 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel 192 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel
192 completionHandler: 193 completionHandler:
193 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; 194 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler;
194 195
195 @end 196 @end
196 197
197 NS_ASSUME_NONNULL_END 198 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/objc/RTCPeerConnection.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698