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

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

Issue 2106103003: Fix for RtcEventLog ObjC interface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed formatting. 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
186 @end 191 @end
187 192
188 @interface RTCPeerConnection (Media) 193 @interface RTCPeerConnection (Media)
189 194
190 /** 195 /**
191 * Create an RTCRtpSender with the specified kind and media stream ID. 196 * Create an RTCRtpSender with the specified kind and media stream ID.
192 * See RTCMediaStreamTrack.h for available kinds. 197 * See RTCMediaStreamTrack.h for available kinds.
193 */ 198 */
194 - (RTCRtpSender *)senderWithKind:(NSString *)kind streamId:(NSString *)streamId; 199 - (RTCRtpSender *)senderWithKind:(NSString *)kind streamId:(NSString *)streamId;
195 200
(...skipping 14 matching lines...) Expand all
210 */ 215 */
211 - (void)statsForTrack: 216 - (void)statsForTrack:
212 (nullable RTCMediaStreamTrack *)mediaStreamTrack 217 (nullable RTCMediaStreamTrack *)mediaStreamTrack
213 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel 218 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel
214 completionHandler: 219 completionHandler:
215 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; 220 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler;
216 221
217 @end 222 @end
218 223
219 NS_ASSUME_NONNULL_END 224 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698