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

Unified Diff: webrtc/sdk/android/api/org/webrtc/PeerConnection.java

Issue 2868413004: JNI wrapper for PeerConnection::SetBitrate. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/android/api/org/webrtc/PeerConnection.java
diff --git a/webrtc/sdk/android/api/org/webrtc/PeerConnection.java b/webrtc/sdk/android/api/org/webrtc/PeerConnection.java
index 4bce2390010d27479987fc57c34e5c0aeb1e78e9..69f4d9b7f4effa36ee1938a8b6a225b2c2bf85ed 100644
--- a/webrtc/sdk/android/api/org/webrtc/PeerConnection.java
+++ b/webrtc/sdk/android/api/org/webrtc/PeerConnection.java
@@ -324,6 +324,10 @@ public class PeerConnection {
nativeNewGetStats(callback);
}
+ // Limits the bandwidth allocated for all RTP streams sent by this
+ // PeerConnection. Pass null to leave a value unchanged.
+ public native boolean setBitrate(Integer min, Integer current, Integer max);
+
// Starts recording an RTC event log. Ownership of the file is transfered to
// the native code. If an RTC event log is already being recorded, it will be
// stopped and a new one will start using the provided file. Logging will
« no previous file with comments | « no previous file | webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698