Add min_bitrate_bps to RtpEncodingParameters.
This CL adds the field but does not implement any functionality using it. Bug: webrtc:9341 Change-Id: I533fc7f8bc1e40207aa16b834e0d7daa60709614 Reviewed-on: https://webrtc-review.googlesource.com/78741 Commit-Queue: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23466}
This commit is contained in:
@ -34,14 +34,17 @@ public class RtpParameters {
|
||||
// Specific maximum bandwidth defined in RFC3890. If null, there is no
|
||||
// maximum bitrate.
|
||||
@Nullable public Integer maxBitrateBps;
|
||||
// Not implemented.
|
||||
@Nullable public Integer minBitrateBps;
|
||||
// SSRC to be used by this encoding.
|
||||
// Can't be changed between getParameters/setParameters.
|
||||
public Long ssrc;
|
||||
|
||||
@CalledByNative("Encoding")
|
||||
Encoding(boolean active, Integer maxBitrateBps, Long ssrc) {
|
||||
Encoding(boolean active, Integer maxBitrateBps, Integer minBitrateBps, Long ssrc) {
|
||||
this.active = active;
|
||||
this.maxBitrateBps = maxBitrateBps;
|
||||
this.minBitrateBps = minBitrateBps;
|
||||
this.ssrc = ssrc;
|
||||
}
|
||||
|
||||
@ -56,6 +59,12 @@ public class RtpParameters {
|
||||
return maxBitrateBps;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@CalledByNative("Encoding")
|
||||
Integer getMinBitrateBps() {
|
||||
return minBitrateBps;
|
||||
}
|
||||
|
||||
@CalledByNative("Encoding")
|
||||
Long getSsrc() {
|
||||
return ssrc;
|
||||
|
||||
Reference in New Issue
Block a user