VideoEncoder.BitrateAllocation

tee3.webrtc

## 类 VideoEncoder.BitrateAllocation

- java.lang.Object
- - tee3.webrtc.VideoEncoder.BitrateAllocation

- 封闭接口:
    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.

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `int[][]` | `bitratesBbs`

  - ### 构造器概要

    构造器
    构造器和说明
    `BitrateAllocation(int[][] bitratesBbs)` Initializes the allocation with a two dimensional array of bitrates.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `getSum()` Gets the total bitrate allocated for all layers.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### bitratesBbs

          public final int[][] bitratesBbs

  - ### 构造器详细资料

    - #### 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.

  - ### 方法详细资料

    - #### getSum

          public int getSum()

      Gets the total bitrate allocated for all layers.