Package tvi.webrtc

Class VideoEncoder.BitrateAllocation

Enclosing interface:

public static class VideoEncoder.BitrateAllocation extends Object
Represents bitrate allocated for an encoder to produce frames. Bitrate can be divided between spatial and temporal layers.
  • 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.