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

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

Issue 2249173002: iOS: add type to peer connection local streams (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix codestyle Created 4 years, 4 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 | « webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm ('k') | no next file » | 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
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
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
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698