Annotate libjingle_peerconnection_java with @Nullable.
Bug: webrtc:8881 Change-Id: Ida2ef6c003567d19529c21629c916ed40e8de3a6 Reviewed-on: https://webrtc-review.googlesource.com/63380 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Paulina Hensman <phensman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22563}
This commit is contained in:
committed by
Commit Bot
parent
12d6a49e97
commit
e7592d8d5f
@ -10,6 +10,7 @@
|
||||
|
||||
package org.webrtc;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
import org.webrtc.MediaStreamTrack;
|
||||
@ -31,7 +32,7 @@ public class RtpParameters {
|
||||
// If non-null, this represents the Transport Independent Application
|
||||
// Specific maximum bandwidth defined in RFC3890. If null, there is no
|
||||
// maximum bitrate.
|
||||
public Integer maxBitrateBps;
|
||||
@Nullable public Integer maxBitrateBps;
|
||||
// SSRC to be used by this encoding.
|
||||
// Can't be changed between getParameters/setParameters.
|
||||
public Long ssrc;
|
||||
@ -48,6 +49,7 @@ public class RtpParameters {
|
||||
return active;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@CalledByNative("Encoding")
|
||||
Integer getMaxBitrateBps() {
|
||||
return maxBitrateBps;
|
||||
|
||||
Reference in New Issue
Block a user