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

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

Issue 2110373002: Revert of Fix for RtcEventLog ObjC interface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 /** Apply the supplied RTCSessionDescription as the local description. */ 176 /** Apply the supplied RTCSessionDescription as the local description. */
177 - (void)setLocalDescription:(RTCSessionDescription *)sdp 177 - (void)setLocalDescription:(RTCSessionDescription *)sdp
178 completionHandler: 178 completionHandler:
179 (nullable void (^)(NSError * _Nullable error))completionHandler; 179 (nullable void (^)(NSError * _Nullable error))completionHandler;
180 180
181 /** Apply the supplied RTCSessionDescription as the remote description. */ 181 /** Apply the supplied RTCSessionDescription as the remote description. */
182 - (void)setRemoteDescription:(RTCSessionDescription *)sdp 182 - (void)setRemoteDescription:(RTCSessionDescription *)sdp
183 completionHandler: 183 completionHandler:
184 (nullable void (^)(NSError * _Nullable error))completionHandler; 184 (nullable void (^)(NSError * _Nullable error))completionHandler;
185 185
186 /** Start or stop recording an Rtc EventLog. */
187 - (BOOL)startRtcEventLogWithFilePath:(NSString *)filePath
188 maxSizeInBytes:(int64_t)maxSizeInBytes;
189 - (void)stopRtcEventLog;
190
191 @end 186 @end
192 187
193 @interface RTCPeerConnection (Media) 188 @interface RTCPeerConnection (Media)
194 189
195 /** 190 /**
196 * Create an RTCRtpSender with the specified kind and media stream ID. 191 * Create an RTCRtpSender with the specified kind and media stream ID.
197 * See RTCMediaStreamTrack.h for available kinds. 192 * See RTCMediaStreamTrack.h for available kinds.
198 */ 193 */
199 - (RTCRtpSender *)senderWithKind:(NSString *)kind streamId:(NSString *)streamId; 194 - (RTCRtpSender *)senderWithKind:(NSString *)kind streamId:(NSString *)streamId;
200 195
(...skipping 14 matching lines...) Expand all
215 */ 210 */
216 - (void)statsForTrack: 211 - (void)statsForTrack:
217 (nullable RTCMediaStreamTrack *)mediaStreamTrack 212 (nullable RTCMediaStreamTrack *)mediaStreamTrack
218 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel 213 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel
219 completionHandler: 214 completionHandler:
220 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; 215 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler;
221 216
222 @end 217 @end
223 218
224 NS_ASSUME_NONNULL_END 219 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698