Package tvi.webrtc

Class VideoEncoder.ScalingSettings

  • Enclosing interface:
    VideoEncoder

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

      Fields 
      Modifier and Type Field Description
      java.lang.Integer high  
      java.lang.Integer low  
      static VideoEncoder.ScalingSettings OFF
      Settings to disable quality based scaling.
      boolean on  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScalingSettings​(boolean on)
      Deprecated.
      ScalingSettings​(boolean on, int low, int high)
      Deprecated.
      ScalingSettings​(int low, int high)
      Creates settings to enable quality based scaling.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • on

        public final boolean on
      • low

        @Nullable
        public final java.lang.Integer low
      • high

        @Nullable
        public final java.lang.Integer high
    • Constructor Detail

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

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object