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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |