Package tvi.webrtc
Class VideoEncoder.BitrateAllocation
- java.lang.Object
-
- tvi.webrtc.VideoEncoder.BitrateAllocation
-
- Enclosing interface:
- VideoEncoder
public static class VideoEncoder.BitrateAllocation extends java.lang.Object
Represents bitrate allocated for an encoder to produce frames. Bitrate can be divided between spatial and temporal layers.
-
-
Field Summary
Fields Modifier and Type Field Description int[][]
bitratesBbs
-
Constructor Summary
Constructors Constructor Description BitrateAllocation(int[][] bitratesBbs)
Initializes the allocation with a two dimensional array of bitrates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSum()
Gets the total bitrate allocated for all layers.
-