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

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

Issue 2877933004: objc wrapper for PeerConnection::SetBitrate (Closed)
Patch Set: Document return value of SetBitrate and rebase. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h
index 13617b5520d588ad878f9eb1cb391a2387d27202..ce2df4d7f5ee568aae626aed1b50a353fa3165e2 100644
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h
@@ -184,6 +184,13 @@ RTC_EXPORT
completionHandler:
(nullable void (^)(NSError * _Nullable error))completionHandler;
+/** Updates bandwidth estimation parameters. Null parameters will be unchanged.
+ * Returns true iff the parameters were successfully updated.
+ */
+- (BOOL)setBitrateToMin:(NSNumber *_Nullable)minBitrateBps
tkchin_webrtc 2017/08/31 21:20:48 Could you update this with more details? What bit
+ toCurrent:(NSNumber *_Nullable)currentBitrateBps
+ toMax:(NSNumber *_Nullable)maxBitrateBps;
+
/** Start or stop recording an Rtc EventLog. */
- (BOOL)startRtcEventLogWithFilePath:(NSString *)filePath
maxSizeInBytes:(int64_t)maxSizeInBytes;

Powered by Google App Engine
This is Rietveld 408576698