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

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