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

Unified Diff: webrtc/api/java/src/org/webrtc/RtpParameters.java

Issue 1853523002: Allowing a Java object field to be null in a new JNI helper method. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Adding comment around maxBitrateBps explaining null value. Created 4 years, 9 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/api/java/src/org/webrtc/RtpParameters.java
diff --git a/webrtc/api/java/src/org/webrtc/RtpParameters.java b/webrtc/api/java/src/org/webrtc/RtpParameters.java
index bd448994e22c1ec7ddd36137bd4afa92c95f50cd..d689517c3bc96c720735e61c247998a18d9f1ddc 100644
--- a/webrtc/api/java/src/org/webrtc/RtpParameters.java
+++ b/webrtc/api/java/src/org/webrtc/RtpParameters.java
@@ -20,6 +20,7 @@ import java.util.LinkedList;
public class RtpParameters {
public static class Encoding {
public boolean active = true;
+ // A null value means "no maximum bitrate".
public Integer maxBitrateBps;
}
« webrtc/api/java/jni/jni_helpers.cc ('K') | « webrtc/api/java/jni/peerconnection_jni.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698