Package tvi.webrtc

Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bitratesBbs

        public final int[][] bitratesBbs
    • Constructor Detail

      • 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 Detail

      • getSum

        public int getSum()
        Gets the total bitrate allocated for all layers.