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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 /** Apply the supplied RTCSessionDescription as the local description. */ | 177 /** Apply the supplied RTCSessionDescription as the local description. */ |
178 - (void)setLocalDescription:(RTCSessionDescription *)sdp | 178 - (void)setLocalDescription:(RTCSessionDescription *)sdp |
179 completionHandler: | 179 completionHandler: |
180 (nullable void (^)(NSError * _Nullable error))completionHandler; | 180 (nullable void (^)(NSError * _Nullable error))completionHandler; |
181 | 181 |
182 /** Apply the supplied RTCSessionDescription as the remote description. */ | 182 /** Apply the supplied RTCSessionDescription as the remote description. */ |
183 - (void)setRemoteDescription:(RTCSessionDescription *)sdp | 183 - (void)setRemoteDescription:(RTCSessionDescription *)sdp |
184 completionHandler: | 184 completionHandler: |
185 (nullable void (^)(NSError * _Nullable error))completionHandler; | 185 (nullable void (^)(NSError * _Nullable error))completionHandler; |
186 | 186 |
| 187 /** Updates bandwidth estimation parameters. Null parameters will be unchanged.
*/ |
| 188 - (BOOL)setBitrate:(NSNumber *_Nullable)minBitrateBps |
| 189 toCurrent:(NSNumber *_Nullable)currentBitrateBps |
| 190 toMax:(NSNumber *_Nullable)maxBitrateBps; |
| 191 |
187 /** Start or stop recording an Rtc EventLog. */ | 192 /** Start or stop recording an Rtc EventLog. */ |
188 - (BOOL)startRtcEventLogWithFilePath:(NSString *)filePath | 193 - (BOOL)startRtcEventLogWithFilePath:(NSString *)filePath |
189 maxSizeInBytes:(int64_t)maxSizeInBytes; | 194 maxSizeInBytes:(int64_t)maxSizeInBytes; |
190 - (void)stopRtcEventLog; | 195 - (void)stopRtcEventLog; |
191 | 196 |
192 @end | 197 @end |
193 | 198 |
194 @interface RTCPeerConnection (Media) | 199 @interface RTCPeerConnection (Media) |
195 | 200 |
196 /** | 201 /** |
(...skipping 19 matching lines...) Expand all Loading... |
216 */ | 221 */ |
217 - (void)statsForTrack: | 222 - (void)statsForTrack: |
218 (nullable RTCMediaStreamTrack *)mediaStreamTrack | 223 (nullable RTCMediaStreamTrack *)mediaStreamTrack |
219 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel | 224 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel |
220 completionHandler: | 225 completionHandler: |
221 (nullable void (^)(NSArray<RTCLegacyStatsReport *> *stats))completionHandler
; | 226 (nullable void (^)(NSArray<RTCLegacyStatsReport *> *stats))completionHandler
; |
222 | 227 |
223 @end | 228 @end |
224 | 229 |
225 NS_ASSUME_NONNULL_END | 230 NS_ASSUME_NONNULL_END |
OLD | NEW |