Package com.telnyx.webrtc.lib
Class VideoEncoder.BitrateAllocation
java.lang.Object
com.telnyx.webrtc.lib.VideoEncoder.BitrateAllocation
- Enclosing interface:
 - VideoEncoder
 
Represents bitrate allocated for an encoder to produce frames. Bitrate can be divided between
 spatial and temporal layers.
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionBitrateAllocation(int[][] bitratesBbs) Initializes the allocation with a two dimensional array of bitrates. - 
Method Summary
 
- 
Field Details
- 
bitratesBbs
public final int[][] bitratesBbs 
 - 
 - 
Constructor Details
- 
BitrateAllocation
public BitrateAllocation(int[][] bitratesBbs) Initializes the allocation with a two dimensional array of bitrates. The first index of the array is the spatial layer and the second index in the temporal layer. 
 - 
 - 
Method Details
- 
getSum
public int getSum()Gets the total bitrate allocated for all layers. 
 -