Package tvi.webrtc

Class VideoEncoder.ScalingSettings

java.lang.Object
tvi.webrtc.VideoEncoder.ScalingSettings
Enclosing interface:
VideoEncoder

public static class VideoEncoder.ScalingSettings extends Object
Settings for WebRTC quality based scaling.
  • Field Details

    • on

      public final boolean on
    • low

      @Nullable public final Integer low
    • high

      @Nullable public final Integer high
    • OFF

      public static final VideoEncoder.ScalingSettings OFF
      Settings to disable quality based scaling.
  • Constructor Details

    • ScalingSettings

      public ScalingSettings(int low, int high)
      Creates settings to enable quality based scaling.
      Parameters:
      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)
      Deprecated.
      Creates quality based scaling setting.
      Parameters:
      on - True if quality scaling is turned on.
    • ScalingSettings

      @Deprecated public ScalingSettings(boolean on, int low, int high)
      Deprecated.
      Creates quality based scaling settings with custom thresholds.
      Parameters:
      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.
  • Method Details