OLD | NEW |
---|---|
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 27 matching lines...) Expand all Loading... | |
38 | 38 |
39 /** Represents the ice connection state of the peer connection. */ | 39 /** Represents the ice connection state of the peer connection. */ |
40 typedef NS_ENUM(NSInteger, RTCIceConnectionState) { | 40 typedef NS_ENUM(NSInteger, RTCIceConnectionState) { |
41 RTCIceConnectionStateNew, | 41 RTCIceConnectionStateNew, |
42 RTCIceConnectionStateChecking, | 42 RTCIceConnectionStateChecking, |
43 RTCIceConnectionStateConnected, | 43 RTCIceConnectionStateConnected, |
44 RTCIceConnectionStateCompleted, | 44 RTCIceConnectionStateCompleted, |
45 RTCIceConnectionStateFailed, | 45 RTCIceConnectionStateFailed, |
46 RTCIceConnectionStateDisconnected, | 46 RTCIceConnectionStateDisconnected, |
47 RTCIceConnectionStateClosed, | 47 RTCIceConnectionStateClosed, |
48 RTCIceConnectionStateMax, | 48 RTCIceConnectionStateCount, |
tkchin_webrtc
2016/03/14 17:09:32
add a comment like:
// Not an actual state, repres
hjon_webrtc
2016/03/14 17:20:28
Ah, I've wondered about this state. :-)
Done.
| |
49 }; | 49 }; |
50 | 50 |
51 /** Represents the ice gathering state of the peer connection. */ | 51 /** Represents the ice gathering state of the peer connection. */ |
52 typedef NS_ENUM(NSInteger, RTCIceGatheringState) { | 52 typedef NS_ENUM(NSInteger, RTCIceGatheringState) { |
53 RTCIceGatheringStateNew, | 53 RTCIceGatheringStateNew, |
54 RTCIceGatheringStateGathering, | 54 RTCIceGatheringStateGathering, |
55 RTCIceGatheringStateComplete, | 55 RTCIceGatheringStateComplete, |
56 }; | 56 }; |
57 | 57 |
58 /** Represents the stats output level. */ | 58 /** Represents the stats output level. */ |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
188 */ | 188 */ |
189 - (void)statsForTrack: | 189 - (void)statsForTrack: |
190 (nullable RTCMediaStreamTrack *)mediaStreamTrack | 190 (nullable RTCMediaStreamTrack *)mediaStreamTrack |
191 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel | 191 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel |
192 completionHandler: | 192 completionHandler: |
193 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; | 193 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; |
194 | 194 |
195 @end | 195 @end |
196 | 196 |
197 NS_ASSUME_NONNULL_END | 197 NS_ASSUME_NONNULL_END |
OLD | NEW |