JNI wrapper for PeerConnection::SetBitrate.

BUG=webrtc:7395

Review-Url: https://codereview.webrtc.org/2868413004
Cr-Commit-Position: refs/heads/master@{#19243}
This commit is contained in:
zstein
2017-08-03 11:11:40 -07:00
committed by Commit Bot
parent 552ba37dac
commit d89b0bcc8a
3 changed files with 28 additions and 0 deletions

View File

@ -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;