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 |
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 RTCConfiguration; | 15 @class RTCConfiguration; |
16 @class RTCDataChannel; | 16 @class RTCDataChannel; |
17 @class RTCDataChannelConfiguration; | 17 @class RTCDataChannelConfiguration; |
18 @class RTCIceCandidate; | 18 @class RTCIceCandidate; |
19 @class RTCMediaConstraints; | 19 @class RTCMediaConstraints; |
20 @class RTCMediaStream; | 20 @class RTCMediaStream; |
21 @class RTCMediaStreamTrack; | 21 @class RTCMediaStreamTrack; |
22 @class RTCPeerConnectionFactory; | 22 @class RTCPeerConnectionFactory; |
23 @class RTCRtpReceiver; | 23 @class RTCRtpReceiver; |
24 @class RTCRtpSender; | 24 @class RTCRtpSender; |
25 @class RTCSessionDescription; | 25 @class RTCSessionDescription; |
26 @class RTCStatsReport; | 26 @class RTCLegacyStatsReport; |
tkchin_webrtc
2016/09/14 10:00:19
alphabetize
| |
27 | 27 |
28 NS_ASSUME_NONNULL_BEGIN | 28 NS_ASSUME_NONNULL_BEGIN |
29 | 29 |
30 extern NSString * const kRTCPeerConnectionErrorDomain; | 30 extern NSString * const kRTCPeerConnectionErrorDomain; |
31 extern int const kRTCSessionDescriptionErrorCode; | 31 extern int const kRTCSessionDescriptionErrorCode; |
32 | 32 |
33 /** Represents the signaling state of the peer connection. */ | 33 /** Represents the signaling state of the peer connection. */ |
34 typedef NS_ENUM(NSInteger, RTCSignalingState) { | 34 typedef NS_ENUM(NSInteger, RTCSignalingState) { |
35 RTCSignalingStateStable, | 35 RTCSignalingStateStable, |
36 RTCSignalingStateHaveLocalOffer, | 36 RTCSignalingStateHaveLocalOffer, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 | 210 |
211 @interface RTCPeerConnection (Stats) | 211 @interface RTCPeerConnection (Stats) |
212 | 212 |
213 /** Gather stats for the given RTCMediaStreamTrack. If |mediaStreamTrack| is nil | 213 /** Gather stats for the given RTCMediaStreamTrack. If |mediaStreamTrack| is nil |
214 * statistics are gathered for all tracks. | 214 * statistics are gathered for all tracks. |
215 */ | 215 */ |
216 - (void)statsForTrack: | 216 - (void)statsForTrack: |
217 (nullable RTCMediaStreamTrack *)mediaStreamTrack | 217 (nullable RTCMediaStreamTrack *)mediaStreamTrack |
218 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel | 218 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel |
219 completionHandler: | 219 completionHandler: |
220 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; | 220 (nullable void (^)(NSArray<RTCLegacyStatsReport *> *stats))completionHandler ; |
221 | 221 |
222 @end | 222 @end |
223 | 223 |
224 NS_ASSUME_NONNULL_END | 224 NS_ASSUME_NONNULL_END |
OLD | NEW |