VideoEncoder.ScalingSettings

tee3.webrtc

## 类 VideoEncoder.ScalingSettings

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

- 封闭接口:
    VideoEncoder

      public static class VideoEncoder.ScalingSettings
      extends java.lang.Object

  Settings for WebRTC quality based scaling.

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `java.lang.Integer` | `high`
    `java.lang.Integer` | `low`
    `static VideoEncoder.ScalingSettings` | `OFF` Settings to disable quality based scaling.
    `boolean` | `on`

  - ### 构造器概要

    构造器
    构造器和说明
    `ScalingSettings(boolean on)` 已过时。
    `ScalingSettings(boolean on, int low, int high)` 已过时。
    `ScalingSettings(int low, int high)` Creates settings to enable quality based scaling.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `java.lang.String` | `toString()`

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

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

- - ### 字段详细资料

    - #### on

          public final boolean on

    - #### low

          @Nullable
          public final java.lang.Integer low

    - #### high

          @Nullable
          public final java.lang.Integer high

    - #### OFF

          public static final VideoEncoder.ScalingSettings OFF

      Settings to disable quality based scaling.

  - ### 构造器详细资料

    - #### ScalingSettings

          public ScalingSettings(int low,
                                 int high)

      Creates settings to enable quality based scaling.
      参数:
        `low` - Average QP at which to scale up the resolution.
        `high` - Average QP at which to scale down the resolution.

    - #### ScalingSettings

          @Deprecated
          public ScalingSettings(boolean on)

      已过时。
      Creates quality based scaling setting.
      参数:
        `on` - True if quality scaling is turned on.

    - #### ScalingSettings

          @Deprecated
          public ScalingSettings(boolean on,
                                              int low,
                                              int high)

      已过时。
      Creates quality based scaling settings with custom thresholds.
      参数:
        `on` - True if quality scaling is turned on.
        `low` - Average QP at which to scale up the resolution.
        `high` - Average QP at which to scale down the resolution.

  - ### 方法详细资料

    - #### toString

          public java.lang.String toString()

      覆盖:
        `toString` 在类中 `java.lang.Object`