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

Unified Diff: webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.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
Index: webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java
diff --git a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java
index 0136ad1b25aeb12ad3a4bae552ea027a4cc29108..699c7de20579b19951e1c5189bb35e46579c32cb 100644
--- a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java
+++ b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/PeerConnectionTest.java
@@ -815,6 +815,10 @@ public class PeerConnectionTest {
answeringExpectations.dataChannel.close();
offeringExpectations.dataChannel.close();
+ // Test SetBitrate.
+ assertTrue(offeringPC.setBitrate(100000, 5000000, 500000000));
+ assertFalse(offeringPC.setBitrate(3, 2, 1));
+
// Free the Java-land objects and collect them.
shutdownPC(offeringPC, offeringExpectations);
offeringPC = null;
« no previous file with comments | « webrtc/sdk/android/api/org/webrtc/PeerConnection.java ('k') | webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698