Chromium Code Reviews| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 | 108 |
| 109 @end | 109 @end |
| 110 | 110 |
| 111 RTC_EXPORT | 111 RTC_EXPORT |
| 112 @interface RTCPeerConnection : NSObject | 112 @interface RTCPeerConnection : NSObject |
| 113 | 113 |
| 114 /** The object that will be notifed about events such as state changes and | 114 /** The object that will be notifed about events such as state changes and |
| 115 * streams being added or removed. | 115 * streams being added or removed. |
| 116 */ | 116 */ |
| 117 @property(nonatomic, weak, nullable) id<RTCPeerConnectionDelegate> delegate; | 117 @property(nonatomic, weak, nullable) id<RTCPeerConnectionDelegate> delegate; |
| 118 @property(nonatomic, readonly) NSArray *localStreams; | 118 @property(nonatomic, readonly) NSArray<RTCMediaStream*>* localStreams; |
|
tkchin_webrtc
2016/08/17 20:24:54
ditto
| |
| 119 @property(nonatomic, readonly, nullable) | 119 @property(nonatomic, readonly, nullable) |
| 120 RTCSessionDescription *localDescription; | 120 RTCSessionDescription *localDescription; |
| 121 @property(nonatomic, readonly, nullable) | 121 @property(nonatomic, readonly, nullable) |
| 122 RTCSessionDescription *remoteDescription; | 122 RTCSessionDescription *remoteDescription; |
| 123 @property(nonatomic, readonly) RTCSignalingState signalingState; | 123 @property(nonatomic, readonly) RTCSignalingState signalingState; |
| 124 @property(nonatomic, readonly) RTCIceConnectionState iceConnectionState; | 124 @property(nonatomic, readonly) RTCIceConnectionState iceConnectionState; |
| 125 @property(nonatomic, readonly) RTCIceGatheringState iceGatheringState; | 125 @property(nonatomic, readonly) RTCIceGatheringState iceGatheringState; |
| 126 | 126 |
| 127 /** Gets all RTCRtpSenders associated with this peer connection. | 127 /** Gets all RTCRtpSenders associated with this peer connection. |
| 128 * Note: reading this property returns different instances of RTCRtpSender. | 128 * Note: reading this property returns different instances of RTCRtpSender. |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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<RTCStatsReport *> *stats))completionHandler; |
| 221 | 221 |
| 222 @end | 222 @end |
| 223 | 223 |
| 224 NS_ASSUME_NONNULL_END | 224 NS_ASSUME_NONNULL_END |
| OLD | NEW |